From 618a796eea5a23957d302af784478728358825a7 Mon Sep 17 00:00:00 2001 From: Markus Uhlin Date: Sat, 23 Nov 2024 21:03:22 +0100 Subject: Removed casts --- FICS/gamedb.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'FICS/gamedb.c') 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); -- cgit v1.2.3