aboutsummaryrefslogtreecommitdiff
path: root/dpkg.c
diff options
context:
space:
mode:
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 18742e8f6..0010df537 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) {