From: millert Date: Thu, 16 Jan 1997 00:35:52 +0000 (+0000) Subject: getopt(3) returns an int, not char. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=dc1c5c23c93f78fb41f4a792e8f3ed429607c2f8;p=openbsd getopt(3) returns an int, not char. --- diff --git a/sbin/bim/bim.c b/sbin/bim/bim.c index bbb52f522ed..41f1fe63f8c 100644 --- a/sbin/bim/bim.c +++ b/sbin/bim/bim.c @@ -1,4 +1,4 @@ -/* $OpenBSD: bim.c,v 1.3 1997/01/15 23:41:09 millert Exp $ */ +/* $OpenBSD: bim.c,v 1.4 1997/01/16 00:35:52 millert Exp $ */ /* $NetBSD: bim.c,v 1.4 1995/09/28 07:08:49 phil Exp $ */ /* @@ -610,7 +610,7 @@ char *argv[]; char *argcmds[MAXARGCMDS]; extern int optind, opterr; extern char *optarg; - char optchar; + int optchar; int index; /* Check the parameters. */