diff options
Diffstat (limited to 'FICS/gamedb.c')
-rw-r--r-- | FICS/gamedb.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/FICS/gamedb.c b/FICS/gamedb.c index 6845c1d..a34fd89 100644 --- a/FICS/gamedb.c +++ b/FICS/gamedb.c @@ -37,6 +37,8 @@ Markus Uhlin 24/12/02 Fixed bugs and ignored function return values. Markus Uhlin 25/03/18 Fixed unchecked return values + Markus Uhlin 25/03/25 ReadGameState: fixed truncated + stdio return value. */ #include "stdinclude.h" @@ -975,8 +977,8 @@ WriteGameState(FILE *fp, game_state_t *gs) PRIVATE int ReadGameState(FILE *fp, game_state_t *gs, int version) { - char pieceChar; int i, j; + int pieceChar; int wkmoved, wqrmoved, wkrmoved, bkmoved, bqrmoved, bkrmoved; if (version == 0) { |