bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH hurd] libfshelp: type check messages using the full mach_msg_type


From: Flavio Cruz
Subject: [PATCH hurd] libfshelp: type check messages using the full mach_msg_type_t so that it works on x86_64.
Date: Sat, 18 Nov 2023 18:24:11 -0500

---
 libfshelp/start-translator-long.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libfshelp/start-translator-long.c 
b/libfshelp/start-translator-long.c
index 0d6c574..0b16e7d 100644
--- a/libfshelp/start-translator-long.c
+++ b/libfshelp/start-translator-long.c
@@ -110,7 +110,7 @@ service_fsys_startup (fshelp_open_fn_t underlying_open_fn, 
void *cookie,
     {
       union
       {
-        uint32_t word;
+        uintptr_t word;
        mach_msg_type_t type;
       } t, c;
       t.type = *type;
-- 
2.39.2




reply via email to

[Prev in Thread] Current Thread [Next in Thread]