summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlavio Cruz <flaviocruz@gmail.com>2023-11-18 18:24:11 -0500
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2023-11-19 00:34:30 +0100
commit85b5ecef376e901f8912196a17e79e390a0ba3a1 (patch)
tree4bbbf69c171ccddac7552f1f43fa467126a0fa4e
parentdb10f666961d1aaca2ac0fafa7163ddcf3d48b51 (diff)
libfshelp: type check messages using the full mach_msg_type_t so that it works on x86_64.
Message-ID: <ZVlHm2xuVaS8SItY@jupiter.tail36e24.ts.net>
-rw-r--r--libfshelp/start-translator-long.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libfshelp/start-translator-long.c b/libfshelp/start-translator-long.c
index 0d6c574a..0b16e7d0 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;