aboutsummaryrefslogtreecommitdiffstats
path: root/FICS/gamedb.c
diff options
context:
space:
mode:
authorMarkus Uhlin <markus@nifty-networks.net>2023-12-17 14:53:48 +0100
committerMarkus Uhlin <markus@nifty-networks.net>2023-12-17 14:53:48 +0100
commit57cedc23892f6a283a164d62251b9014994e7838 (patch)
treed08090f68cec8217d6e91ee7534b8d1833b8e641 /FICS/gamedb.c
parent19db6b08fe8b2e261009c924257c84c9a1431fc9 (diff)
Fixed compiler warnings
Diffstat (limited to 'FICS/gamedb.c')
-rw-r--r--FICS/gamedb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/FICS/gamedb.c b/FICS/gamedb.c
index f7d40a0..f3a9b5b 100644
--- a/FICS/gamedb.c
+++ b/FICS/gamedb.c
@@ -1022,7 +1022,7 @@ ReadV1GameFmt(game *g, FILE *fp, char *file, int version)
if ((version < 3) && (!(g->bInitTime)))
g->bInitTime = g->wInitTime;
- fscanf(fp, "%lx", &g->timeOfStart);
+ fscanf(fp, "%llx", &g->timeOfStart);
fscanf(fp, "%d %d", &g->wTime, &g->bTime);
if (version > 1)
@@ -1176,7 +1176,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, "%lx\n", gg->timeOfStart);
+ fprintf(fp, "%llx\n", gg->timeOfStart);
#ifdef TIMESEAL
fprintf(fp, "%d %d\n",