aboutsummaryrefslogtreecommitdiffstats
path: root/FICS/gamedb.c
diff options
context:
space:
mode:
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",