summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
Diffstat (limited to 'games')
-rw-r--r--games/boggle/mkdict/mkdict.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/games/boggle/mkdict/mkdict.c b/games/boggle/mkdict/mkdict.c
index 6a4f7d4ebad..7ef93ef9c3a 100644
--- a/games/boggle/mkdict/mkdict.c
+++ b/games/boggle/mkdict/mkdict.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mkdict.c,v 1.11 2009/10/27 23:59:24 deraadt Exp $ */
+/* $OpenBSD: mkdict.c,v 1.12 2015/10/24 17:27:06 mmcc Exp $ */
/* $NetBSD: mkdict.c,v 1.2 1995/03/21 12:14:49 cgd Exp $ */
/*-
@@ -80,7 +80,7 @@ main(int argc, char *argv[])
}
len = 0;
for (p = buf[current]; *p != '\n'; p++) {
- if (!islower(*p))
+ if (!islower((unsigned char)*p))
break;
if (*p == 'q') {
q = p + 1;