summaryrefslogtreecommitdiff
path: root/distrib/special
diff options
context:
space:
mode:
Diffstat (limited to 'distrib/special')
-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';
}