From: deraadt Date: Wed, 29 Jan 1997 01:28:03 +0000 (+0000) Subject: getopt & int X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=16f228ab7a37b8c590eef5b49ab658db727498bd;p=openbsd getopt & int --- diff --git a/sbin/ipf/ipf.c b/sbin/ipf/ipf.c index 2025449699e..3d4eb97381f 100644 --- a/sbin/ipf/ipf.c +++ b/sbin/ipf/ipf.c @@ -34,7 +34,7 @@ #ifndef lint static char sccsid[] = "@(#)ipf.c 1.23 6/5/96 (C) 1993-1995 Darren Reed"; -static char rcsid[] = "$Id: ipf.c,v 1.8 1997/01/17 07:12:16 millert Exp $"; +static char rcsid[] = "$Id: ipf.c,v 1.9 1997/01/29 01:28:03 deraadt Exp $"; #endif #if SOLARIS @@ -55,7 +55,7 @@ int main(argc,argv) int argc; char *argv[]; { - char c; + int c; while ((c = getopt(argc, argv, "AsInopvdryf:F:l:EDzZ")) != -1) { switch (c)