Buildfix, remove some .c_str()

This commit is contained in:
Henrik Rydgård
2026-05-19 13:59:04 +02:00
parent fb7ce84edb
commit 07efc7f7a3
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -385,7 +385,7 @@ void GetCurrentTimeFormatted(char formattedTime[13]) {
#endif
}
void FormatUnixTime(double unixTimeSeconds, char *formatted, size_t bufSize, bool includeDate) {
void FormatUnixTime(double unixTimeSeconds, char *formatted, int bufSize, bool includeDate) {
#ifdef _WIN32
ULARGE_INTEGER uli;
uli.QuadPart = (ULONGLONG)(unixTimeSeconds * TICKS_PER_SECOND) + UNIX_TIME_START; // Convert seconds to ticks and add the offset to get FILETIME ticks.