summaryrefslogtreecommitdiff
path: root/distrib/special/more
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2013-11-26 21:13:05 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2013-11-26 21:13:05 +0000
commit5d9cb13264991cb7623915fa1e67bf4d85c65ad4 (patch)
tree1d06f42e5625d9f59292cc39ceb71ec7d1f65d4d /distrib/special/more
parentadd24db9795dd87127bdfcb25ea4e9d4701e1325 (diff)
unsigned char for ctype
Diffstat (limited to 'distrib/special/more')
-rw-r--r--distrib/special/more/more.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/distrib/special/more/more.c b/distrib/special/more/more.c
index ae66e499f48..7b2453d18d4 100644
--- a/distrib/special/more/more.c
+++ b/distrib/special/more/more.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: more.c,v 1.32 2012/03/04 04:05:15 fgsch Exp $ */
+/* $OpenBSD: more.c,v 1.33 2013/11/26 21:13:04 deraadt Exp $ */
/*
* Copyright (c) 2003 Todd C. Miller <Todd.Miller@courtesan.com>
@@ -236,7 +236,7 @@ main(int argc, char **argv)
} else {
initopt++;
for (initline = 0; *s != '\0'; s++) {
- if (isdigit(*s))
+ if (isdigit((unsigned char)*s))
initline =
initline * 10 + *s - '0';
}