summaryrefslogtreecommitdiff
path: root/dpkg.c
diff options
context:
space:
mode:
authorEric Andersen2001-05-24 14:16:28 +0000
committerEric Andersen2001-05-24 14:16:28 +0000
commit5a9d441b2cfb4f3614971f918bb69b5e7a5ea2c9 (patch)
treeb6b30a570093f5a6a57b5bd8317687b5ee9ee0b3 /dpkg.c
parent1c1f5d30477e9c845c1d08b2390bd889f6b1d018 (diff)
downloadbusybox-5a9d441b2cfb4f3614971f918bb69b5e7a5ea2c9.zip
busybox-5a9d441b2cfb4f3614971f918bb69b5e7a5ea2c9.tar.gz
Fix up some signed char vs int issues that show up on powerpc.
Diffstat (limited to 'dpkg.c')
-rw-r--r--dpkg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dpkg.c b/dpkg.c
index 18742e8..0010df5 100644
--- a/dpkg.c
+++ b/dpkg.c
@@ -804,7 +804,7 @@ extern int dpkg_main(int argc, char **argv)
package_t *p, *packages = NULL;
void *status = NULL;
- char opt = 0;
+ int opt = 0;
int optflag = 0;
while ((opt = getopt(argc, argv, "iruc")) != -1) {