diff options
author | mmcc <mmcc@cvs.openbsd.org> | 2015-10-24 18:51:41 +0000 |
---|---|---|
committer | mmcc <mmcc@cvs.openbsd.org> | 2015-10-24 18:51:41 +0000 |
commit | ee41f0376cddd53d219092c6372bf1a691e3ac08 (patch) | |
tree | d729f03c9ea02a1c9142bd28e4509f6b551fff70 /games/boggle | |
parent | 888c154ce977b45deb87d2e2313b5eb224c05883 (diff) |
Cast toupper()'s argument to unsigned char.
ok guenther@
Diffstat (limited to 'games/boggle')
-rw-r--r-- | games/boggle/boggle/mach.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/games/boggle/boggle/mach.c b/games/boggle/boggle/mach.c index 0eb7889f8d0..3b1424a654c 100644 --- a/games/boggle/boggle/mach.c +++ b/games/boggle/boggle/mach.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mach.c,v 1.14 2014/12/04 06:12:33 deraadt Exp $ */ +/* $OpenBSD: mach.c,v 1.15 2015/10/24 18:51:40 mmcc Exp $ */ /* $NetBSD: mach.c,v 1.5 1995/04/28 22:28:48 mycroft Exp $ */ /*- @@ -687,7 +687,7 @@ tty_showboard(char *b) if (ch == 'q') printw("Qu"); else - printw("%c ", toupper(ch)); + printw("%c ", toupper((unsigned char)ch)); if (HISET(b[i])) attroff(A_BOLD); if ((i + 1) % grid == 0) { |