applying patch from:
authorpgf <pgf@69ca8d6d-28ef-0310-b511-8ec308f3f277>
Wed, 20 Jul 2005 19:07:27 +0000 (19:07 +0000)
committerpgf <pgf@69ca8d6d-28ef-0310-b511-8ec308f3f277>
Wed, 20 Jul 2005 19:07:27 +0000 (19:07 +0000)
    0000227: sort use wrong type for getopt return variable

git-svn-id: svn://busybox.net/trunk/busybox@10879 69ca8d6d-28ef-0310-b511-8ec308f3f277

coreutils/sort.c

index 73505e3..6d8a552 100644 (file)
@@ -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 */