XPath: Use strtod instead of atof
This makes code more consistent between wchar/utf8 mode.
This commit is contained in:
parent
e2358e5e3b
commit
243839012a
1 changed files with 1 additions and 1 deletions
|
@ -8089,7 +8089,7 @@ PUGI__NS_BEGIN
|
|||
#ifdef PUGIXML_WCHAR_MODE
|
||||
return wcstod(string, 0);
|
||||
#else
|
||||
return atof(string);
|
||||
return strtod(string, 0);
|
||||
#endif
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue