summaryrefslogtreecommitdiff
path: root/editors
diff options
context:
space:
mode:
authorGlenn L McGrath2004-05-16 02:35:49 +0000
committerGlenn L McGrath2004-05-16 02:35:49 +0000
commit21d7d61de164b25bc6a70e49b12567e80caed953 (patch)
treedeb5bb0a997f5e3f9d0b1f7847533df4d4f0326f /editors
parent5d2edbf16d598c002e64572f9bb45647f88532ed (diff)
downloadbusybox-21d7d61de164b25bc6a70e49b12567e80caed953.zip
busybox-21d7d61de164b25bc6a70e49b12567e80caed953.tar.gz
Use int instead of char for return type, in theory avoiding a cast
Diffstat (limited to 'editors')
-rw-r--r--editors/sed.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/editors/sed.c b/editors/sed.c
index 45cf7a7..45574e8 100644
--- a/editors/sed.c
+++ b/editors/sed.c
@@ -1096,9 +1096,9 @@ static void add_cmd_block(char *cmdstr)
extern int sed_main(int argc, char **argv)
{
+ int status = EXIT_SUCCESS;
int opt;
- char getpat=1;
- char status = EXIT_SUCCESS;
+ uint8_t getpat = 1;
#ifdef CONFIG_FEATURE_CLEAN_UP
/* destroy command strings on exit */