1
0
mirror of https://github.com/TerryCavanagh/VVVVVV.git synced 2024-06-26 06:28:30 +02:00

Change is_number() iterator type to size_t

This is to be consistent with is_positive_num().
This commit is contained in:
Misa 2021-02-11 17:15:20 -08:00 committed by Ethan Lee
parent 7ea70ad1d6
commit 62533300b0

View File

@ -272,7 +272,7 @@ bool is_number(const char* str)
return false;
}
for (int i = 1; str[i] != '\0'; i++)
for (size_t i = 1; str[i] != '\0'; i++)
{
if (!SDL_isdigit(str[i]))
{