summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/pugixml.cpp2
1 files changed, 1 insertions, 1 deletions
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
}