From 68e8915713e7a57a25c01af5d7843e24124aef6e Mon Sep 17 00:00:00 2001 From: "Michael I. Bushnell" Date: Fri, 9 Jun 1995 20:47:36 +0000 Subject: (diskfs_S_file_exec): Declare both variables `i' to be unsigned int. --- libdiskfs/file-exec.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libdiskfs/file-exec.c b/libdiskfs/file-exec.c index 37f9d0e9..7bbcdc69 100644 --- a/libdiskfs/file-exec.c +++ b/libdiskfs/file-exec.c @@ -122,7 +122,7 @@ diskfs_S_file_exec (struct protid *cred, int naux_gids = nold_aux_gids < 2 ? nold_aux_gids : 2; gid_t gen_gids[ngen_gids], aux_gids[naux_gids]; - int i; + unsigned int i; /* Tell the exec server to use secure ports and a new task. */ flags |= EXEC_SECURE|EXEC_NEWTASK; @@ -253,7 +253,7 @@ diskfs_S_file_exec (struct protid *cred, destroynames, destroynameslen); if (!err) { - int i; + unsigned int i; mach_port_deallocate (mach_task_self (), task); for (i = 0; i < fdslen; i++) -- cgit v1.2.3