comment
This commit is contained in:
parent
d5c2167efc
commit
842b8060c8
1 changed files with 1 additions and 2 deletions
3
pila.c
3
pila.c
|
@ -463,8 +463,7 @@ read_number(Str ns, u64 *res)
|
|||
n = n * 10 + cv;
|
||||
++p;
|
||||
}
|
||||
|
||||
if (p < pend)
|
||||
if (p < pend) /* trailling characters, invalid number */
|
||||
return false;
|
||||
|
||||
*res = n;
|
||||
|
|
Loading…
Add table
Reference in a new issue