Fix for debian bug #248106, should use int for returned getopt value.

This commit is contained in:
Glenn L McGrath 2004-05-10 08:59:17 +00:00
parent 6c0396ba2a
commit 5d2edbf16d

View File

@ -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 */