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/hurd.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'hurd/hurd.h') diff --git a/hurd/hurd.h b/hurd/hurd.h index 472fb91..968910f 100644 --- a/hurd/hurd.h +++ b/hurd/hurd.h @@ -109,8 +109,8 @@ extern int _hurd_set_brk (vm_address_t newbrk); /* Calls to get and set basic ports. */ -extern error_t _hurd_ports_get (int which, mach_port_t *result); -extern error_t _hurd_ports_set (int which, mach_port_t newport); +extern error_t _hurd_ports_get (unsigned int which, mach_port_t *result); +extern error_t _hurd_ports_set (unsigned int which, mach_port_t newport); extern process_t getproc (void); extern file_t getcwdir (void), getcrdir (void); -- cgit v1.1