aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Kraai <kraai@debian.org>2001-11-19 21:07:15 +0000
committerMatt Kraai <kraai@debian.org>2001-11-19 21:07:15 +0000
commitefd7f03657eae50bcec8bfe2d0bb67c2819a4a8b (patch)
tree3af495c63c66b4600b6c499659748b950708c931
parent4e05da89f3629b6c763f1821afaeee8beb6bb56d (diff)
downloadbusybox-efd7f03657eae50bcec8bfe2d0bb67c2819a4a8b.tar.gz
Fix opt type in dpkg (closes: #118975).
-rw-r--r--Changelog1
-rw-r--r--archival/dpkg.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/Changelog b/Changelog
index 568852a46..41b2358d2 100644
--- a/Changelog
+++ b/Changelog
@@ -23,6 +23,7 @@
-- Fix tar segfault when include list is empty and exclude list is
not.
-- Fix sed s/$/@/ handling (noted by Joshua Hudson).
+ -- Fix opt type in dpkg (closes: #118975).
* Magick
-- made init run inittab command's in the order they show up
in the inittab file (FIFO instead of LIFO).
diff --git a/archival/dpkg.c b/archival/dpkg.c
index 88cf8b872..9a3bff979 100644
--- a/archival/dpkg.c
+++ b/archival/dpkg.c
@@ -1332,7 +1332,7 @@ extern int dpkg_main(int argc, char **argv)
{
deb_file_t **deb_file = NULL;
status_node_t *status_node;
- char opt = 0;
+ int opt;
int package_num;
int dpkg_opt = 0;
int deb_count = 0;