summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorArseny Kapoulkine <arseny.kapoulkine@gmail.com>2015-05-20 08:31:00 -0700
committerArseny Kapoulkine <arseny.kapoulkine@gmail.com>2015-05-20 08:31:00 -0700
commit243839012a2f267fbdb626fd1493497b4abbbd7a (patch)
tree4a24e8e1a309e13d854232b1f96b537556664faa /src
parente2358e5e3b617801492c54caa192216e12b91a24 (diff)
XPath: Use strtod instead of atof
This makes code more consistent between wchar/utf8 mode.
Diffstat (limited to 'src')
-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
}