about summary refs log tree commit diff
path: root/sysdeps/mach/hurd/if_index.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/if_index.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/if_index.c')
-rw-r--r--sysdeps/mach/hurd/if_index.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/mach/hurd/if_index.c b/sysdeps/mach/hurd/if_index.c
index a4472269b7..c8ad7e722b 100644
--- a/sysdeps/mach/hurd/if_index.c
+++ b/sysdeps/mach/hurd/if_index.c
@@ -99,7 +99,7 @@ __if_nameindex (void)
     nifs = 0;
   else
     {
-      size_t len = sizeof data;
+      mach_msg_type_number_t len = sizeof data;
       err = __pfinet_siocgifconf (server, -1, &ifc.ifc_buf, &len);
       if (err == MACH_SEND_INVALID_DEST || err == MIG_SERVER_DIED)
 	{