From dc1c5c23c93f78fb41f4a792e8f3ed429607c2f8 Mon Sep 17 00:00:00 2001 From: millert Date: Thu, 16 Jan 1997 00:35:52 +0000 Subject: [PATCH] getopt(3) returns an int, not char. --- sbin/bim/bim.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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. */ -- 2.20.1