aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbug1 <bug1@69ca8d6d-28ef-0310-b511-8ec308f3f277>2004-05-10 08:59:17 +0000
committerbug1 <bug1@69ca8d6d-28ef-0310-b511-8ec308f3f277>2004-05-10 08:59:17 +0000
commit9d0f276eadd43ec27a14b9252e81a2077d6df125 (patch)
tree5c5f5166e8bd2d3237e210aafedea6db7f09f0ac
parent32df6b575040d023457292a37720e2c9cdb3be77 (diff)
downloadbusybox-w32-9d0f276eadd43ec27a14b9252e81a2077d6df125.tar.gz
busybox-w32-9d0f276eadd43ec27a14b9252e81a2077d6df125.tar.bz2
busybox-w32-9d0f276eadd43ec27a14b9252e81a2077d6df125.zip
Fix for debian bug #248106, should use int for returned getopt value.
git-svn-id: svn://busybox.net/trunk/busybox@8819 69ca8d6d-28ef-0310-b511-8ec308f3f277
-rw-r--r--editors/sed.c4
1 files changed, 3 insertions, 1 deletions
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)
1096 1096
1097extern int sed_main(int argc, char **argv) 1097extern int sed_main(int argc, char **argv)
1098{ 1098{
1099 char opt, getpat=1, status = EXIT_SUCCESS; 1099 int opt;
1100 char getpat=1;
1101 char status = EXIT_SUCCESS;
1100 1102
1101#ifdef CONFIG_FEATURE_CLEAN_UP 1103#ifdef CONFIG_FEATURE_CLEAN_UP
1102 /* destroy command strings on exit */ 1104 /* destroy command strings on exit */