artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
01869f2
)
Cast islower()'s argument to unsigned char.
author
mmcc
<mmcc@openbsd.org>
Sat, 24 Oct 2015 17:23:14 +0000
(17:23 +0000)
committer
mmcc
<mmcc@openbsd.org>
Sat, 24 Oct 2015 17:23:14 +0000
(17:23 +0000)
ok guenther@
games/boggle/boggle/bog.c
patch
|
blob
|
history
diff --git
a/games/boggle/boggle/bog.c
b/games/boggle/boggle/bog.c
index
d11a161
..
e87a65d
100644
(file)
--- a/
games/boggle/boggle/bog.c
+++ b/
games/boggle/boggle/bog.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: bog.c,v 1.2
4 2014/12/04 06:12:33 deraadt Exp $
*/
+/* $OpenBSD: bog.c,v 1.2
5 2015/10/24 17:23:14 mmcc Exp $
*/
/* $NetBSD: bog.c,v 1.5 1995/04/24 12:22:32 cgd Exp $ */
/*-
@@
-138,7
+138,7
@@
main(int argc, char *argv[])
}
if (argc > 0) {
- if (islower(argv[0][0])) {
+ if (islower(
(unsigned char)
argv[0][0])) {
if (strlen(argv[0]) != ncubes) {
usage();
} else {