diff options
author | mmcc <mmcc@cvs.openbsd.org> | 2015-10-24 17:33:06 +0000 |
---|---|---|
committer | mmcc <mmcc@cvs.openbsd.org> | 2015-10-24 17:33:06 +0000 |
commit | 1f886313d9a494b4089430b32d82de0b154b075e (patch) | |
tree | 642c12bcb3bd1787101fe0b4728caa20cdd81d44 /games/pom | |
parent | b7fab0c71e233c4fe127fbd6e7056d5b4d466d19 (diff) |
Cast isdigit()'s argument to unsigned char.
ok guenther@
Diffstat (limited to 'games/pom')
-rw-r--r-- | games/pom/pom.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/games/pom/pom.c b/games/pom/pom.c index f091b688042..b9ad28102cc 100644 --- a/games/pom/pom.c +++ b/games/pom/pom.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pom.c,v 1.17 2015/10/14 08:12:12 doug Exp $ */ +/* $OpenBSD: pom.c,v 1.18 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(); } |