From 380c5620c027f0625b49cce85ac9466a7311b399 Mon Sep 17 00:00:00 2001 From: Markus Uhlin Date: Sun, 17 Dec 2023 15:06:19 +0100 Subject: Revert "Fixed compiler warnings" This reverts commit 57cedc23892f6a283a164d62251b9014994e7838. --- FICS/gamedb.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'FICS') diff --git a/FICS/gamedb.c b/FICS/gamedb.c index a9a1bf6..a58be5e 100644 --- a/FICS/gamedb.c +++ b/FICS/gamedb.c @@ -1023,7 +1023,7 @@ ReadV1GameFmt(game *g, FILE *fp, char *file, int version) if ((version < 3) && (!(g->bInitTime))) g->bInitTime = g->wInitTime; - fscanf(fp, "%llx", &g->timeOfStart); + fscanf(fp, "%lx", &g->timeOfStart); fscanf(fp, "%d %d", &g->wTime, &g->bTime); if (version > 1) @@ -1177,7 +1177,7 @@ WriteGameFile(FILE *fp, int g) fprintf(fp, "%d %d\n", gg->white_rating, gg->black_rating); fprintf(fp, "%d %d %d %d\n", gg->wInitTime, gg->wIncrement, gg->bInitTime, gg->bIncrement); - fprintf(fp, "%llx\n", gg->timeOfStart); + fprintf(fp, "%lx\n", gg->timeOfStart); #ifdef TIMESEAL fprintf(fp, "%d %d\n", -- cgit v1.2.3