diff options
Diffstat (limited to 'dpkg.c')
-rw-r--r-- | dpkg.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -804,7 +804,7 @@ extern int dpkg_main(int argc, char **argv) | |||
804 | 804 | ||
805 | package_t *p, *packages = NULL; | 805 | package_t *p, *packages = NULL; |
806 | void *status = NULL; | 806 | void *status = NULL; |
807 | char opt = 0; | 807 | int opt = 0; |
808 | int optflag = 0; | 808 | int optflag = 0; |
809 | 809 | ||
810 | while ((opt = getopt(argc, argv, "iruc")) != -1) { | 810 | while ((opt = getopt(argc, argv, "iruc")) != -1) { |