summaryrefslogtreecommitdiff
path: root/editors/sed.c
diff options
context:
space:
mode:
Diffstat (limited to 'editors/sed.c')
-rw-r--r--editors/sed.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/editors/sed.c b/editors/sed.c
index df6a8b4..45cf7a7 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 */