about summary refs log tree commit diff
path: root/sysdeps/mach/hurd/ifreq.c
diff options
context:
space:
mode:
authorSergey Bugaev <bugaevc@gmail.com>2023-02-18 23:37:10 +0300
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2023-02-20 00:33:47 +0100
commit32fff41bde1965ce89af07e27f2fc6dbb5baee89 (patch)
treecdb33e1632a6e1bf6c6732763a93f8b13194f9ec /sysdeps/mach/hurd/ifreq.c
parente48f33e76be2a3baa920b7e9f472354f7ff0c0a6 (diff)
downloadglibc-32fff41bde1965ce89af07e27f2fc6dbb5baee89.tar.gz
glibc-32fff41bde1965ce89af07e27f2fc6dbb5baee89.tar.xz
glibc-32fff41bde1965ce89af07e27f2fc6dbb5baee89.zip
hurd: Use proper integer types
Fix a few more cases of build errors caused by mismatched types. This is a
continuation of f4315054b46d5e58b44a709a51943fb73f846afb.

Signed-off-by: Sergey Bugaev <bugaevc@gmail.com>
Message-Id: <20230218203717.373211-3-bugaevc@gmail.com>
Diffstat (limited to 'sysdeps/mach/hurd/ifreq.c')
-rw-r--r--sysdeps/mach/hurd/ifreq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/mach/hurd/ifreq.c b/sysdeps/mach/hurd/ifreq.c
index ef210c3284..394d020cf0 100644
--- a/sysdeps/mach/hurd/ifreq.c
+++ b/sysdeps/mach/hurd/ifreq.c
@@ -37,7 +37,7 @@ __ifreq (struct ifreq **ifreqs, int *num_ifs, int sockfd)
   else
     {
       char *data = NULL;
-      size_t len = 0;
+      mach_msg_type_number_t len = 0;
       error_t err = __pfinet_siocgifconf (server, -1, &data, &len);
       if (err == MACH_SEND_INVALID_DEST || err == MIG_SERVER_DIED)
 	{