From: mmcc Date: Sat, 24 Oct 2015 17:23:14 +0000 (+0000) Subject: Cast islower()'s argument to unsigned char. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=9981a40bd6641a19ad4bb78ffa58faf70edcefb8;p=openbsd Cast islower()'s argument to unsigned char. ok guenther@ --- 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 {