pkgsrc/games/gcompris/patches/patch-src_chess__computer-activity_chess__notation.c
wiz 14ee5d5dc8 Update to 12.01, provided by Mayuresh in wip.
Many many changes from last packaged version.
2012-04-08 21:07:06 +00:00

13 lines
487 B
C

$NetBSD: patch-src_chess__computer-activity_chess__notation.c,v 1.1 2012/04/08 21:07:06 wiz Exp $
--- src/chess_computer-activity/chess_notation.c.orig 2011-01-08 22:27:13.000000000 +0000
+++ src/chess_computer-activity/chess_notation.c
@@ -203,7 +203,7 @@ piece_to_ascii (int piece)
if(WPIECE(piece))
return piece_to_ascii_full[i];
else
- return tolower(piece_to_ascii_full[i]);
+ return tolower((unsigned char)piece_to_ascii_full[i]);
g_assert_not_reached ();