From f8ba839139c6e386a5506c8e390eb38236e397d9 Mon Sep 17 00:00:00 2001 From: Ryan Williams Date: Thu, 4 Jan 2024 06:36:15 -0800 Subject: [PATCH] Update MiscUtils.cpp --- library/MiscUtils.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/MiscUtils.cpp b/library/MiscUtils.cpp index 1865bf357..ba3af1f36 100644 --- a/library/MiscUtils.cpp +++ b/library/MiscUtils.cpp @@ -183,7 +183,7 @@ std::string capitalize_string_words(const std::string& str) int32_t bracket_count = 0; bool conf; - for (int32_t s = 0; s < out.length(); s++) + for (size_t s = 0; s < out.length(); s++) { if (out[s] == '[') { ++bracket_count; continue; } else if (out[s] == ']') { --bracket_count; continue; }