From 21d7d61de164b25bc6a70e49b12567e80caed953 Mon Sep 17 00:00:00 2001 From: Glenn L McGrath Date: Sun, 16 May 2004 02:35:49 +0000 Subject: [PATCH] Use int instead of char for return type, in theory avoiding a cast --- editors/sed.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 */ -- 2.25.1