diff options
author | Glenn L McGrath <bug1@ihug.co.nz> | 2004-05-10 12:59:17 +0400 |
---|---|---|
committer | Glenn L McGrath <bug1@ihug.co.nz> | 2004-05-10 12:59:17 +0400 |
commit | 5d2edbf16d598c002e64572f9bb45647f88532ed (patch) | |
tree | 5c5f5166e8bd2d3237e210aafedea6db7f09f0ac /editors | |
parent | 6c0396ba2ab4bf10535ef43c486c1836786fc97e (diff) |
Fix for debian bug #248106, should use int for returned getopt value.
Diffstat (limited to 'editors')
-rw-r--r-- | editors/sed.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/editors/sed.c b/editors/sed.c index df6a8b40d..45cf7a7ad 100644 --- a/editors/sed.c +++ b/editors/sed.c @@ -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 */ |