about summary refs log tree commit diff
path: root/sysdeps/mach/hurd/getpriority.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 /sysdeps/mach/hurd/getpriority.c
parentf0b1c8ea85cb305b5ca6d32c2ad09a93a5900743 (diff)
downloadglibc-b62b62acf0b2ab1a627cf1238f65871a3d8511cc.tar.gz
glibc-b62b62acf0b2ab1a627cf1238f65871a3d8511cc.tar.xz
glibc-b62b62acf0b2ab1a627cf1238f65871a3d8511cc.zip
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 'sysdeps/mach/hurd/getpriority.c')
-rw-r--r--sysdeps/mach/hurd/getpriority.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/mach/hurd/getpriority.c b/sysdeps/mach/hurd/getpriority.c
index e3016ee1d8..9fede4d2f0 100644
--- a/sysdeps/mach/hurd/getpriority.c
+++ b/sysdeps/mach/hurd/getpriority.c
@@ -31,7 +31,7 @@ getpriority (enum __priority_which which, id_t who)
   int maxpri = INT_MIN;
   struct procinfo *pip;		/* Just for sizeof.  */
   int pibuf[sizeof *pip + 2 * sizeof (pip->threadinfos[0])], *pi = pibuf;
-  unsigned int pisize = sizeof pibuf / sizeof pibuf[0];
+  size_t pisize = sizeof pibuf / sizeof pibuf[0];
 
   error_t getonepriority (pid_t pid, struct procinfo *pip)
     {
@@ -40,7 +40,7 @@ getpriority (enum __priority_which which, id_t who)
       else
 	{
 	  int *oldpi = pi;
-	  unsigned int oldpisize = pisize;
+	  size_t oldpisize = pisize;
 	  char *tw = 0;
 	  size_t twsz = 0;
 	  int flags = PI_FETCH_TASKINFO;