Fix for debian bug #248106, should use int for returned getopt value.
This commit is contained in:
parent
6c0396ba2a
commit
5d2edbf16d
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user