From 1e9dc0393c67ff7eb2d7691931303e58dc112f5a Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Mon, 20 Mar 1995 08:21:38 +0000 Subject: Mon Mar 20 03:19:23 1995 Roland McGrath * stdio/vfscanf.c (%n): Use READ_IN - 1, so as not to count the read-ahead character. * hurd/dtable.c, hurd/getdport.c, hurd/hurd.h, hurd/hurdexec.c, hurd/hurdinit.c, hurd/hurdprio.c, hurd/hurdsock.c, hurd/ports-get.c, hurd/ports-set.c, hurd/setauth.c, hurd/setuids.c, sysdeps/mach/hurd/i386/trampoline.c: Get anal with unsigned to pacify compiler. --- hurd/dtable.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'hurd/dtable.c') diff --git a/hurd/dtable.c b/hurd/dtable.c index 3e785a9..ea683d0 100644 --- a/hurd/dtable.c +++ b/hurd/dtable.c @@ -41,7 +41,7 @@ DEFINE_HOOK (_hurd_fd_subinit, (void)); static void init_dtable (void) { - register size_t i; + int i; __mutex_init (&_hurd_dtable_lock); @@ -55,7 +55,7 @@ init_dtable (void) __libc_fatal ("hurd: Can't allocate file descriptor table\n"); /* Initialize the descriptor table. */ - for (i = 0; i < _hurd_init_dtablesize; ++i) + for (i = 0; (unsigned int) i < _hurd_init_dtablesize; ++i) { if (_hurd_init_dtable[i] == MACH_PORT_NULL) /* An unused descriptor is marked by a null pointer. */ -- cgit v1.1