Skip to content

Commit 33b402d

Browse files
committed
update(scripting): fix type in for
1 parent 587dd08 commit 33b402d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/Plugins/src/Scripting.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ SMM_API void scripting_Print(const char *str)
3535
std::string message(str);
3636
if (message.size() != 0)
3737
{
38-
for (int i = 0; i < print_colors.size(); i++)
38+
for (size_t i = 0; i < print_colors.size(); i++)
3939
{
4040
message = replace(message, print_colors.at(i), "");
4141
message = replace(message, str_tolower(print_colors.at(i)), "");

0 commit comments

Comments
 (0)