aboutsummaryrefslogtreecommitdiffstats
path: root/FICS/gamedb.c
diff options
context:
space:
mode:
authorMarkus Uhlin <markus@nifty-networks.net>2024-11-23 21:03:22 +0100
committerMarkus Uhlin <markus@nifty-networks.net>2024-11-23 21:03:22 +0100
commit618a796eea5a23957d302af784478728358825a7 (patch)
tree9dd52262585d5b56295423c5b45424702eaca434 /FICS/gamedb.c
parentc64bb06bceb3a41396ea1d64084e2f1b18915abf (diff)
Removed casts
Diffstat (limited to 'FICS/gamedb.c')
-rw-r--r--FICS/gamedb.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/FICS/gamedb.c b/FICS/gamedb.c
index 9bb8b23..6fa0ae2 100644
--- a/FICS/gamedb.c
+++ b/FICS/gamedb.c
@@ -572,7 +572,7 @@ movesToString(int g, int pgn)
strftime(tmp, sizeof(tmp),
"[Date \"%Y.%m.%d\"]\n"
"[Time \"%H:%M:%S\"]\n",
- localtime((time_t *) &curTime));
+ localtime(&curTime)); // XXX
mstrlcat(gameString, tmp, sizeof gameString);
msnprintf(tmp, sizeof tmp,
@@ -643,8 +643,8 @@ movesToString(int g, int pgn)
mstrlcat(gameString, tmp, sizeof gameString);
mstrlcat(gameString, "--- ", sizeof gameString);
- mstrlcat(gameString, (char *) (localtime((time_t *) &curTime)),
- sizeof gameString);
+ mstrlcat(gameString, (char *) (localtime(&curTime)),
+ sizeof gameString); // XXX
if (garray[g].rated) {
mstrlcat(gameString, "\nRated ", sizeof gameString);