From faaa3762329885b166ed50a36711b4d1fc598230 Mon Sep 17 00:00:00 2001 From: Ty Date: Sat, 25 Oct 2025 12:36:39 -0400 Subject: [PATCH] Console: size_t -> u32 when constructing smallstring warning fix --- common/Console.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)