From 063f7462dac26487e38b126afcf80dad77da444c Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Mon, 29 Aug 2022 01:42:47 +0200 Subject: 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. --- hurd/get-host.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'hurd/get-host.c') diff --git a/hurd/get-host.c b/hurd/get-host.c index bdaf86b..a21aa15 100644 --- a/hurd/get-host.c +++ b/hurd/get-host.c @@ -27,7 +27,8 @@ _hurd_get_host_config (const char *item, char *buf, size_t buflen) { error_t err; char *data; - mach_msg_type_number_t nread, more; + mach_msg_type_number_t nread; + vm_size_t more; file_t config; err = __hurd_file_name_lookup (&_hurd_ports_use, &__getdport, 0, -- cgit v1.1