C++ warning fixes

Signed-off-by: Alexander Borsuk <me@alex.bio>
This commit is contained in:
Alexander Borsuk
2025-08-01 13:33:12 +02:00
committed by Konstantin Pastbin
parent a28d5d15ce
commit 2aaf37e9ee
15 changed files with 35 additions and 34 deletions

View File

@@ -35,7 +35,7 @@ bool EndsInAcronymOrNum(strings::UniString const & myUniStr)
bool allUppercaseNum = true;
strings::UniString lowerStr = strings::MakeLowerCase(myUniStr);
for (int i = myUniStr.size() - 1; i > 0; i--)
for (long i = myUniStr.size() - 1; i > 0; i--)
{
// if we've reached a space, we're done here
if (myUniStr[i] == ' ')