aboutsummaryrefslogtreecommitdiffstats
path: root/FICS
diff options
context:
space:
mode:
authorMarkus Uhlin <markus@nifty-networks.net>2023-12-17 15:06:19 +0100
committerMarkus Uhlin <markus@nifty-networks.net>2023-12-17 15:06:19 +0100
commit380c5620c027f0625b49cce85ac9466a7311b399 (patch)
tree3c7dedd16e0523e99379744e003b4932491835e2 /FICS
parentedcf8c5244dd934a47ad595848179652f29b7509 (diff)
Revert "Fixed compiler warnings"
This reverts commit 57cedc23892f6a283a164d62251b9014994e7838.
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",