aboutsummaryrefslogtreecommitdiff
path: root/hurd/hurdioctl.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2002-04-23 22:22:24 +0000
committerRoland McGrath <roland@gnu.org>2002-04-23 22:22:24 +0000
commitb62b62acf0b2ab1a627cf1238f65871a3d8511cc (patch)
tree9a1e4e848cc05078eaf904ded1d3509c8c89d767 /hurd/hurdioctl.c
parentf0b1c8ea85cb305b5ca6d32c2ad09a93a5900743 (diff)
downloadglibc-b62b62acf0b2ab1a627cf1238f65871a3d8511cc.zip
glibc-b62b62acf0b2ab1a627cf1238f65871a3d8511cc.tar.gz
glibc-b62b62acf0b2ab1a627cf1238f65871a3d8511cc.tar.bz2
2002-04-23 Roland McGrath <roland@frob.com>
* sysdeps/mach/hurd/send.c: int -> size_t for WROTE. * sysdeps/mach/hurd/sendto.c: Likewise. * hurd/hurdioctl.c (siocgifconf): int -> size_t for DATA_LEN. * sysdeps/mach/hurd/wait4.c (__wait4): natural_t -> int for SIGCODE. * sysdeps/mach/hurd/getpriority.c: unsigned int -> size_t for PISIZE.
Diffstat (limited to 'hurd/hurdioctl.c')
-rw-r--r--hurd/hurdioctl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hurd/hurdioctl.c b/hurd/hurdioctl.c
index 9fdb1bc..96d910b 100644
--- a/hurd/hurdioctl.c
+++ b/hurd/hurdioctl.c
@@ -1,5 +1,5 @@
/* ioctl commands which must be done in the C library.
- Copyright (C) 1994,95,96,97,99,2001 Free Software Foundation, Inc.
+ Copyright (C) 1994,95,96,97,99,2001,02 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -311,7 +311,7 @@ static int
siocgifconf (int fd, int request, struct ifconf *ifc)
{
error_t err;
- int data_len = ifc->ifc_len;
+ size_t data_len = ifc->ifc_len;
char *data = ifc->ifc_buf;
if (data_len <= 0)