0
0
mirror of https://github.com/zeux/pugixml.git synced 2025-01-03 01:55:25 +08:00

XPath: Use strtod instead of atof

This makes code more consistent between wchar/utf8 mode.
This commit is contained in:
Arseny Kapoulkine 2015-05-20 08:31:00 -07:00
parent e2358e5e3b
commit 243839012a

View File

@ -8089,7 +8089,7 @@ PUGI__NS_BEGIN
#ifdef PUGIXML_WCHAR_MODE
return wcstod(string, 0);
#else
return atof(string);
return strtod(string, 0);
#endif
}