mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-02-09 19:15:03 +01:00
Change type to int in for loop
Tests against int, not size_t.
This commit is contained in:
parent
a2cb0b62c8
commit
69b385a21a
2
r5dev/thirdparty/imgui/src/imgui_logger.cpp
vendored
2
r5dev/thirdparty/imgui/src/imgui_logger.cpp
vendored
@ -58,7 +58,7 @@ std::string CTextLogger::GetText(const Coordinates & aStart, const Coordinates &
|
||||
int iend = GetCharacterIndex(aEnd);
|
||||
size_t s = 0;
|
||||
|
||||
for (size_t i = lstart; i < lend; i++)
|
||||
for (int i = lstart; i < lend; i++)
|
||||
s += m_Lines[i].size();
|
||||
|
||||
result.reserve(s + s / 8);
|
||||
|
Loading…
x
Reference in New Issue
Block a user