Fixing parseInt() (#1022)

This commit is contained in:
Richard Knoll 2018-08-01 12:45:56 -07:00 committed by GitHub
parent 56dedeff92
commit 6884b2bedf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -237,6 +237,9 @@ double mystrtod(const char *p, char **endp) {
int pw = strtol(p, endp, 10);
v *= p10(pw);
}
else {
*endp = (char *) p;
}
return v;
}