From efd7f03657eae50bcec8bfe2d0bb67c2819a4a8b Mon Sep 17 00:00:00 2001 From: Matt Kraai Date: Mon, 19 Nov 2001 21:07:15 +0000 Subject: Fix opt type in dpkg (closes: #118975). --- Changelog | 1 + archival/dpkg.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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; -- cgit v1.2.3