summaryrefslogtreecommitdiff
path: root/libdiskfs
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1995-06-09 20:47:36 +0000
committerMichael I. Bushnell <mib@gnu.org>1995-06-09 20:47:36 +0000
commit68e8915713e7a57a25c01af5d7843e24124aef6e (patch)
treec205e9d017334f90d8613a356910bf8e5ec47e6b /libdiskfs
parent75f8c7dea552a435f866197c7fc26a28ca3dbf29 (diff)
(diskfs_S_file_exec): Declare both variables `i' to be unsigned int.
Diffstat (limited to 'libdiskfs')
-rw-r--r--libdiskfs/file-exec.c4
1 files 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++)