diff options
Diffstat (limited to 'usr.sbin/lpr/lpr/lpr.c')
-rw-r--r-- | usr.sbin/lpr/lpr/lpr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/lpr/lpr/lpr.c b/usr.sbin/lpr/lpr/lpr.c index d8f31192fe2..182831cca2b 100644 --- a/usr.sbin/lpr/lpr/lpr.c +++ b/usr.sbin/lpr/lpr/lpr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: lpr.c,v 1.44 2013/08/08 03:16:14 guenther Exp $ */ +/* $OpenBSD: lpr.c,v 1.45 2013/11/24 21:32:32 deraadt Exp $ */ /* $NetBSD: lpr.c,v 1.19 2000/10/11 20:23:52 is Exp $ */ /* @@ -145,7 +145,7 @@ main(int argc, char **argv) switch (ch) { case '#': /* n copies */ - if (isdigit(*optarg)) { + if (isdigit((unsigned char)*optarg)) { i = atoi(optarg); if (i > 0) ncopies = i; |