From: Holger Schemel Date: Wed, 12 Feb 2025 18:14:21 +0000 (+0100) Subject: fixed compiler warning with GCC 13 X-Git-Tag: 4.4.0.4~4 X-Git-Url: https://git.artsoft.org/?a=commitdiff_plain;h=797ff5523b6f202aec664702bfab4b050e67024e;p=rocksndiamonds.git fixed compiler warning with GCC 13 --- diff --git a/src/libgame/misc.c b/src/libgame/misc.c index 3ab4f57c..7ae70195 100644 --- a/src/libgame/misc.c +++ b/src/libgame/misc.c @@ -993,7 +993,7 @@ char *getDefaultUserName(int nr) char *getTimestampFromEpoch(time_t epoch_seconds) { struct tm *now = localtime(&epoch_seconds); - static char timestamp[20]; + static char timestamp[100]; sprintf(timestamp, "%04d%02d%02d-%02d%02d%02d", now->tm_year + 1900, now->tm_mon + 1, now->tm_mday,