This commit is contained in:
tocariimaa 2025-02-03 20:16:38 -03:00
parent d5c2167efc
commit 842b8060c8

3
pila.c
View file

@ -463,8 +463,7 @@ read_number(Str ns, u64 *res)
n = n * 10 + cv; n = n * 10 + cv;
++p; ++p;
} }
if (p < pend) /* trailling characters, invalid number */
if (p < pend)
return false; return false;
*res = n; *res = n;