fixed asInteger math issue.
This commit is contained in:
1 parent
6cd2fd6cc1
commit
c644d8346f
1 file changed
+1
-1
+1
-1
@@ -139,7 +139,7 @@ namespace coreutils {
|
||||
return 0;
|
||||
while((*cursor >- '0') && (*cursor <= '9')) {
|
||||
value *= 10;
|
||||
value += *cursor - 40;
|
||||
value += *cursor - 48;
|
||||
++cursor;
|
||||
if(cursor == end) {
|
||||
if(negative)
|
||||
|
||||
Reference in new issue
Block a user