summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormmcc <mmcc@openbsd.org>2015-10-24 17:33:05 +0000
committermmcc <mmcc@openbsd.org>2015-10-24 17:33:05 +0000
commit0cc1293efbf6e8c9df9887549f67c767ca7b0770 (patch)
tree9b26690b78720ae42eb5da92bb229a5e4425fa5b
parentCast isblank()'s argument to unsigned char. (diff)
downloadwireguard-openbsd-0cc1293efbf6e8c9df9887549f67c767ca7b0770.tar.xz
wireguard-openbsd-0cc1293efbf6e8c9df9887549f67c767ca7b0770.zip
Cast isdigit()'s argument to unsigned char.
ok guenther@
-rw-r--r--games/pom/pom.c4
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();
}