$NetBSD: patch-ab,v 1.1.1.1 2007/09/04 21:46:32 drochner Exp $

--- src/boards/chess.c.orig	2007-09-04 13:31:20.000000000 +0200
+++ src/boards/chess.c
@@ -1043,7 +1043,7 @@ engine_local_cb (GIOChannel *source,
     g_warning("engine_local_cb read=%s\n", buf);
 
     /* parse for  NUMBER ... MOVE */
-    if (isdigit (*buf))
+    if (isdigit ((unsigned char)*buf))
       {
 	if ((p = strstr (buf, "...")))
 	  {
