aboutsummaryrefslogtreecommitdiffstats
path: root/FICS
diff options
context:
space:
mode:
Diffstat (limited to 'FICS')
-rw-r--r--FICS/gamedb.c4
1 files changed, 2 insertions, 2 deletions
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",