Fix size of epVictim array
[hachu.git] / hachu.c
diff --git a/hachu.c b/hachu.c
index 2401644..52355e8 100644 (file)
--- a/hachu.c
+++ b/hachu.c
@@ -153,7 +153,7 @@ typedef struct {
 } PieceDesc;\r
 \r
 typedef struct {\r
-  int from, to, piece, victim, new, booty, epSquare, epVictim[8], ep2Square, revMoveCount;\r
+  int from, to, piece, victim, new, booty, epSquare, epVictim[9], ep2Square, revMoveCount;\r
   int savKeyL, savKeyH, gain, loss, filling, saveDelta;\r
   char fireMask;\r
 } UndoInfo;\r