aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2000-07-14 06:27:54 +0000
committerEric Andersen <andersen@codepoet.org>2000-07-14 06:27:54 +0000
commit58361a44b5105e2ed5cae5eb69faa975a993bf72 (patch)
treee62ba0366df7cf7c760ae5797665344592cd62e3
parente7413a9cde8da7a54349a0641d0b1e7cbc0e290a (diff)
downloadbusybox-58361a44b5105e2ed5cae5eb69faa975a993bf72.tar.gz
uid and gid were unsigned, but were compared vs signed values (-1)
-Erik
-rw-r--r--chmod_chown_chgrp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/chmod_chown_chgrp.c b/chmod_chown_chgrp.c
index cf6a50895..156a0a9f9 100644
--- a/chmod_chown_chgrp.c
+++ b/chmod_chown_chgrp.c
@@ -33,8 +33,8 @@
#include <pwd.h>
-static unsigned long uid = -1;
-static unsigned long gid = -1;
+static long uid = -1;
+static long gid = -1;
static int whichApp;
static char *theMode = NULL;