diff options
author | mmcc <mmcc@cvs.openbsd.org> | 2015-10-24 17:23:15 +0000 |
---|---|---|
committer | mmcc <mmcc@cvs.openbsd.org> | 2015-10-24 17:23:15 +0000 |
commit | 5237524d33c4e990bdbc72c77797a60d51c279af (patch) | |
tree | d0900ed1efdc999d80861a297c394a3dae3811d1 /games/boggle | |
parent | 354f351aa4b5ff26ce2b73b429e07b6d75c825a3 (diff) |
Cast islower()'s argument to unsigned char.
ok guenther@
Diffstat (limited to 'games/boggle')
-rw-r--r-- | games/boggle/boggle/bog.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/games/boggle/boggle/bog.c b/games/boggle/boggle/bog.c index d11a161c1db..e87a65d3484 100644 --- a/games/boggle/boggle/bog.c +++ b/games/boggle/boggle/bog.c @@ -1,4 +1,4 @@ -/* $OpenBSD: bog.c,v 1.24 2014/12/04 06:12:33 deraadt Exp $ */ +/* $OpenBSD: bog.c,v 1.25 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 { |