diff --git a/common/Console.cpp b/common/Console.cpp index 8c68611f51..f5ffa8c56d 100644 --- a/common/Console.cpp +++ b/common/Console.cpp @@ -99,7 +99,7 @@ __ri void Log::WriteToConsole(LOGLEVEL level, ConsoleColors color, std::string_v static constexpr size_t BUFFER_SIZE = 512; SmallStackString buffer; - buffer.reserve(32 + message.length()); + buffer.reserve(static_cast(32 + message.length())); buffer.append(s_ansi_color_codes[color]); if (s_log_timestamps)