summaryrefslogtreecommitdiff
path: root/games/gcompris/patches/patch-ac
blob: 9df3604c9e575c7c7530dba6a13c2193005051b6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-ac,v 1.1.1.1 2007/09/04 21:46:32 drochner Exp $

--- src/boards/chess_notation.c.orig	2007-09-04 13:32:59.000000000 +0200
+++ src/boards/chess_notation.c
@@ -204,7 +204,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 ();