RMG-Core: minor code fixes

This commit is contained in:
Rosalie Wanders committed 2023-07-15 11:24:41 +02:00
1 parent eb8294363a
commit b9e1e230f9
6 files changed
+12 -15

No files matched your search

+1 -1
View File
@@ -25,7 +25,7 @@
// replaces all occurences of any chars in replace with c inside str
static void str_replace_chars(std::string& str, const std::string replace, const char c)
{
for (int i = 0; i < str.size(); i++)
for (uint32_t i = 0; i < str.size(); i++)
{
char str_char = str.at(i);
if (replace.find(str_char) != std::string::npos)