artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8059d61
)
Cast isdigit()'s argument to unsigned char.
author
mmcc
<mmcc@openbsd.org>
Sat, 24 Oct 2015 17:33:05 +0000
(17:33 +0000)
committer
mmcc
<mmcc@openbsd.org>
Sat, 24 Oct 2015 17:33:05 +0000
(17:33 +0000)
ok guenther@
games/pom/pom.c
patch
|
blob
|
history
diff --git
a/games/pom/pom.c
b/games/pom/pom.c
index
f091b68
..
b9ad281
100644
(file)
--- a/
games/pom/pom.c
+++ b/
games/pom/pom.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: pom.c,v 1.1
7 2015/10/14 08:12:12 doug
Exp $ */
+/* $OpenBSD: pom.c,v 1.1
8 2015/10/24 17:33:05 mmcc
Exp $ */
/* $NetBSD: pom.c,v 1.6 1996/02/06 22:47:29 jtc Exp $ */
/*
@@
-208,7
+208,7
@@
parsetime(char *p)
char *t;
for (t = p; *t; ++t) {
- if (isdigit(*t))
+ if (isdigit(
(unsigned char)
*t))
continue;
badformat();
}