about summary refs log tree commit diff
path: root/sysdeps/mach/hurd/sendfile64.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/mach/hurd/sendfile64.c')
-rw-r--r--sysdeps/mach/hurd/sendfile64.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/mach/hurd/sendfile64.c b/sysdeps/mach/hurd/sendfile64.c
index 658b02826d..e36b979078 100644
--- a/sysdeps/mach/hurd/sendfile64.c
+++ b/sysdeps/mach/hurd/sendfile64.c
@@ -35,7 +35,7 @@ __sendfile64 (int out_fd, int in_fd, off64_t *offset, size_t count)
      which might blow if it's huge or address space is real tight.  */
 
   char *data = 0;
-  size_t datalen = 0;
+  mach_msg_type_number_t datalen = 0;
   error_t err = HURD_DPORT_USE (in_fd,
 				__io_read (port, &data, &datalen,
 					   offset ? *offset : (off_t) -1,