diff options
| author | John Wiseman <john.wiseman@cantab.net> | 2023-04-06 13:41:09 +0100 |
|---|---|---|
| committer | John Wiseman <john.wiseman@cantab.net> | 2023-04-06 13:41:09 +0100 |
| commit | 60ff21fb3139286e7a79ea73e4b9ae28d6a5524b (patch) | |
| tree | 27e6aae6f24d5ff27c1924387f00de120aacb6a9 /BBSUtilities.c | |
| parent | f1bf68a54506ec51bacdd27ef7eec6ac6732d629 (diff) | |
6.0.23.5923.66
Diffstat (limited to 'BBSUtilities.c')
| -rw-r--r-- | BBSUtilities.c | 2 |
1 files changed, 1 insertions, 1 deletions
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);
|
