diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2022-08-29 01:42:47 +0200 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2022-08-29 01:42:47 +0200 |
commit | 063f7462dac26487e38b126afcf80dad77da444c (patch) | |
tree | 8e515d0d1fef257d0a75120e0e0b607d5fb9fad3 /hurd/fd-write.c | |
parent | cb033e6b0ca7b8873cd00687ffd1828038a595d3 (diff) | |
download | glibc-063f7462dac26487e38b126afcf80dad77da444c.tar.gz |
hurd: Fix vm_size_t incoherencies
In gnumach, 3e1702a65fb3 ("add rpc_versions for vm types") changed the type
of vm_size_t, making it always a unsigned long. This made it incompatible on
x86 with size_t. Even if we may want to revert it to unsigned int, it's
better to fix the types of parameters according to the .defs files.
Diffstat (limited to 'hurd/fd-write.c')
-rw-r--r-- | hurd/fd-write.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hurd/fd-write.c b/hurd/fd-write.c index a18e76b4d2..28be1ba758 100644 --- a/hurd/fd-write.c +++ b/hurd/fd-write.c @@ -26,7 +26,7 @@ _hurd_fd_write (struct hurd_fd *fd, const void *buf, size_t *nbytes, loff_t offset) { error_t err; - mach_msg_type_number_t wrote; + vm_size_t wrote; error_t writefd (io_t port) { |