diff options
| author | Arseny Kapoulkine <arseny.kapoulkine@gmail.com> | 2015-05-20 08:31:00 -0700 | 
|---|---|---|
| committer | Arseny Kapoulkine <arseny.kapoulkine@gmail.com> | 2015-05-20 08:31:00 -0700 | 
| commit | 243839012a2f267fbdb626fd1493497b4abbbd7a (patch) | |
| tree | 4a24e8e1a309e13d854232b1f96b537556664faa | |
| parent | e2358e5e3b617801492c54caa192216e12b91a24 (diff) | |
XPath: Use strtod instead of atof
This makes code more consistent between wchar/utf8 mode.
| -rw-r--r-- | src/pugixml.cpp | 2 | 
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  	} | 
