This commit is contained in:
Mattias Wadman 2009-10-11 16:59:22 +00:00
parent 9b7e29c33a
commit f337896d21

View file

@ -367,7 +367,7 @@ _strntod(const char *s, char decimal_point_char, char **ep)
d = strtod(buf, ep);
/* figure out offset in orignal string */
/* figure out offset in original string */
if(ep != NULL)
*ep = (char *)s + (*ep - buf);