← Commit list

21d7d61de

Glenn L McGrath
Glenn L McGrath
2004-05-16
FAILED Duration: 24s

Subject

Use int instead of char for return type, in theory avoiding a cast

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

editors/sed.c+2 -2
@@ -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 */