From: Glenn L McGrath Date: Sun, 16 May 2004 02:35:49 +0000 (-0000) Subject: Use int instead of char for return type, in theory avoiding a cast X-Git-Tag: 1_00_rc1~61 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=21d7d61de164b25bc6a70e49b12567e80caed953;p=oweals%2Fbusybox.git Use int instead of char for return type, in theory avoiding a cast --- diff --git a/editors/sed.c b/editors/sed.c index 45cf7a7ad..45574e81d 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 */