about summary refs log tree commit diff
path: root/sysdeps/mach/hurd/ifreq.c
diff options
context:
space:
mode:
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)
 	{