about summary refs log tree commit diff
path: root/hurd/set-host.c
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2022-08-29 01:42:47 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2022-08-29 01:42:47 +0200
commit063f7462dac26487e38b126afcf80dad77da444c (patch)
tree8e515d0d1fef257d0a75120e0e0b607d5fb9fad3 /hurd/set-host.c
parentcb033e6b0ca7b8873cd00687ffd1828038a595d3 (diff)
downloadglibc-063f7462dac26487e38b126afcf80dad77da444c.tar.gz
glibc-063f7462dac26487e38b126afcf80dad77da444c.tar.xz
glibc-063f7462dac26487e38b126afcf80dad77da444c.zip
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/set-host.c')
-rw-r--r--hurd/set-host.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hurd/set-host.c b/hurd/set-host.c
index 16d1d8deed..afa8f62b5d 100644
--- a/hurd/set-host.c
+++ b/hurd/set-host.c
@@ -24,7 +24,7 @@ ssize_t
 _hurd_set_host_config (const char *item, const char *value, size_t valuelen)
 {
   error_t err;
-  mach_msg_type_number_t nwrote;
+  vm_size_t nwrote;
   file_t new, dir;
   char *name;