From: Matt Kraai Date: Mon, 19 Nov 2001 21:07:15 +0000 (-0000) Subject: Fix opt type in dpkg (closes: #118975). X-Git-Tag: 0_60_2~6 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=efd7f03657eae50bcec8bfe2d0bb67c2819a4a8b;p=oweals%2Fbusybox.git Fix opt type in dpkg (closes: #118975). --- 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;