aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 */