From 9981a40bd6641a19ad4bb78ffa58faf70edcefb8 Mon Sep 17 00:00:00 2001 From: mmcc Date: Sat, 24 Oct 2015 17:23:14 +0000 Subject: [PATCH] Cast islower()'s argument to unsigned char. ok guenther@ --- games/boggle/boggle/bog.c | 4 ++-- 1 file 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 { -- 2.20.1