From 60ff21fb3139286e7a79ea73e4b9ae28d6a5524b Mon Sep 17 00:00:00 2001 From: John Wiseman Date: Thu, 6 Apr 2023 13:41:09 +0100 Subject: 6.0.23.59 --- BBSUtilities.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'BBSUtilities.c') diff --git a/BBSUtilities.c b/BBSUtilities.c index 4a21033..151a6e1 100644 --- a/BBSUtilities.c +++ b/BBSUtilities.c @@ -14714,7 +14714,7 @@ char * FormatSYNCMessage(CIRCUIT * conn, struct MsgInfo * Msg) sprintf_s(Date, sizeof(Date), "%04d%02d%02d%02d%02d%02d", tm->tm_year + 1900, tm->tm_mon + 1, tm->tm_mday, tm->tm_hour, tm->tm_min, tm->tm_sec); - tm = gmtime(&Msg->datecreated); + tm = gmtime((time_t *)&Msg->datecreated); sprintf_s(MsgTime, sizeof(Date), "%04d/%02d/%02d %02d:%02d", tm->tm_year + 1900, tm->tm_mon + 1, tm->tm_mday, tm->tm_hour, tm->tm_min); -- cgit v1.2.3