diff --git a/src/pugixml.cpp b/src/pugixml.cpp index 1f23b44..f72a4d4 100644 --- a/src/pugixml.cpp +++ b/src/pugixml.cpp @@ -8089,7 +8089,7 @@ PUGI__NS_BEGIN #ifdef PUGIXML_WCHAR_MODE return wcstod(string, 0); #else - return atof(string); + return strtod(string, 0); #endif }