From 379ac89c30b96ec335bc0c16b8ecdd14a1b807ac Mon Sep 17 00:00:00 2001 From: Paul Fox Date: Wed, 20 Jul 2005 19:07:27 +0000 Subject: applying patch from: 0000227: sort use wrong type for getopt return variable --- coreutils/sort.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'coreutils/sort.c') diff --git a/coreutils/sort.c b/coreutils/sort.c index 73505e365..6d8a55245 100644 --- a/coreutils/sort.c +++ b/coreutils/sort.c @@ -239,7 +239,8 @@ int sort_main(int argc, char **argv) { FILE *fp,*outfile=NULL; int linecount=0,i,flag; - char *line,**lines=NULL,c,*optlist="ngMucszbrdfimS:T:o:k:t:"; + char *line,**lines=NULL,*optlist="ngMucszbrdfimS:T:o:k:t:"; + int c; bb_default_error_retval = 2; /* Parse command line options */ -- cgit v1.2.3