ref: d5c2af3bcb04031bd6f2724a480b9c7758eeacbb
parent: aa0761be97fc5a0ba0fb80ca364c24d9dbd56c4d
author: mkf <mkf@cloud9p.org>
date: Thu Dec 12 07:12:28 EST 2024
util.c: fix compiler warnning
--- a/util.c
+++ b/util.c
@@ -9,7 +9,7 @@
if(strlen(s) < n)
n = strlen(s);
- for(int i = 0 ; i < n ; i++)
+ for(unsigned int i = 0 ; i < n ; i++)
{
if(s[i] > '9' || s[i] < '0')
return 0;