artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9981a40
)
Cast islower()'s argument to unsigned char.
author
mmcc
<mmcc@openbsd.org>
Sat, 24 Oct 2015 17:27:06 +0000
(17:27 +0000)
committer
mmcc
<mmcc@openbsd.org>
Sat, 24 Oct 2015 17:27:06 +0000
(17:27 +0000)
ok guenther@
games/boggle/mkdict/mkdict.c
patch
|
blob
|
history
diff --git
a/games/boggle/mkdict/mkdict.c
b/games/boggle/mkdict/mkdict.c
index
6a4f7d4
..
7ef93ef
100644
(file)
--- a/
games/boggle/mkdict/mkdict.c
+++ b/
games/boggle/mkdict/mkdict.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: mkdict.c,v 1.1
1 2009/10/27 23:59:24 deraadt Exp $
*/
+/* $OpenBSD: mkdict.c,v 1.1
2 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;