aboutsummaryrefslogtreecommitdiff
path: root/libmachdev
diff options
context:
space:
mode:
authorFlavio Cruz <flaviocruz@gmail.com>2023-05-02 00:11:22 -0400
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2023-05-02 07:47:15 +0200
commit0be50de40ee012223eba38e76f19ed08f5429f51 (patch)
tree0dbcb5ec4511e2f6cfb5f7772c5520bbda440fa3 /libmachdev
parent0afac7ab288a2a259bbc6bdb7e20b686b3913274 (diff)
downloadhurd-0be50de40ee012223eba38e76f19ed08f5429f51.tar.gz
hurd-0be50de40ee012223eba38e76f19ed08f5429f51.tar.bz2
hurd-0be50de40ee012223eba38e76f19ed08f5429f51.zip
Use uintptr_t for message payloads.
A follow up to 92fad38a043b75ed6b435b3efa574ede91dbe9ee in gnumach. Message-Id: <ZFCNasf9bJ9qj+CG@jupiter.tail36e24.ts.net>
Diffstat (limited to 'libmachdev')
-rw-r--r--libmachdev/mig-decls.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libmachdev/mig-decls.h b/libmachdev/mig-decls.h
index 62eaac80..91db36b5 100644
--- a/libmachdev/mig-decls.h
+++ b/libmachdev/mig-decls.h
@@ -36,7 +36,7 @@ begin_using_device_port (mach_port_t port)
}
static inline struct mach_device * __attribute__ ((unused))
-begin_using_device_payload (unsigned long payload)
+begin_using_device_payload (uintptr_t payload)
{
return ports_lookup_payload (machdev_device_bucket, payload, machdev_device_class);
}