enable warning 4296: 'operator': expression is always false
Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com>
This commit is contained in:
@@ -30,7 +30,7 @@ namespace MCore
|
||||
// find the last letter index from the right
|
||||
size_t lastIndex = AZStd::string::npos;
|
||||
const size_t numCharacters = prefixString.size();
|
||||
for (size_t i = numCharacters - 1; i >= 0; --i)
|
||||
for (int i = static_cast<int>(numCharacters) - 1; i >= 0; --i)
|
||||
{
|
||||
if (!AZStd::is_digit(prefixString[i]))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user