util: int -> size_t

This commit is contained in:
Robert Swiecki 2018-02-12 16:28:45 +01:00
parent 810394cf16
commit ff43c5b44b

View File

@ -170,7 +170,7 @@ int sSnPrintf(char* str, size_t size, const char* format, ...) {
}
bool isANumber(const char* s) {
for (int i = 0; s[i]; s++) {
for (size_t i = 0; s[i]; s++) {
if (!isdigit(s[i]) && s[i] != 'x') {
return false;
}