From: Glenn L McGrath Date: Mon, 10 May 2004 08:59:17 +0000 (-0000) Subject: Fix for debian bug #248106, should use int for returned getopt value. X-Git-Tag: 1_00_rc1~62 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=5d2edbf16d598c002e64572f9bb45647f88532ed;p=oweals%2Fbusybox.git Fix for debian bug #248106, should use int for returned getopt value. --- diff --git a/editors/sed.c b/editors/sed.c index df6a8b40d..45cf7a7ad 100644 --- a/editors/sed.c +++ b/editors/sed.c @@ -1096,7 +1096,9 @@ static void add_cmd_block(char *cmdstr) extern int sed_main(int argc, char **argv) { - char opt, getpat=1, status = EXIT_SUCCESS; + int opt; + char getpat=1; + char status = EXIT_SUCCESS; #ifdef CONFIG_FEATURE_CLEAN_UP /* destroy command strings on exit */