Fixing parseInt() (#1022)
This commit is contained in:
parent
56dedeff92
commit
6884b2bedf
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user