fixed bug with asInteger on ZString.
This commit is contained in:
parent
f8557aa5f5
commit
921854e455
@ -137,7 +137,7 @@ namespace coreutils {
|
||||
++cursor;
|
||||
if(cursor == end)
|
||||
return 0;
|
||||
while((*cursor >- '0') && (*cursor <= '9')) {
|
||||
while((*cursor >= '0') && (*cursor <= '9')) {
|
||||
value *= 10;
|
||||
value += *cursor - 48;
|
||||
++cursor;
|
||||
|
Loading…
x
Reference in New Issue
Block a user