fixed bug with asInteger on ZString.

This commit is contained in:
barant 2024-12-23 09:37:14 -08:00
parent f8557aa5f5
commit 921854e455

View File

@ -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;