|
[Rivet-svn] r1928 - trunk/src/Tools/TinyXMLblackhole at projects.hepforge.org blackhole at projects.hepforge.orgSun Oct 18 17:46:06 BST 2009
Author: buckley Date: Sun Oct 18 17:46:05 2009 New Revision: 1928 Log: Eliminating one more warning Modified: trunk/src/Tools/TinyXML/tinyxml.cpp Modified: trunk/src/Tools/TinyXML/tinyxml.cpp ============================================================================== --- trunk/src/Tools/TinyXML/tinyxml.cpp Sun Oct 18 15:19:21 2009 (r1927) +++ trunk/src/Tools/TinyXML/tinyxml.cpp Sun Oct 18 17:46:05 2009 (r1928) @@ -1198,7 +1198,7 @@ int TiXmlAttribute::QueryDoubleValue( double* dval ) const { - if ( sscanf( value.c_str(), "%f", dval ) == 1 ) + if ( sscanf( value.c_str(), "%lf", dval ) == 1 ) return TIXML_SUCCESS; return TIXML_WRONG_TYPE; }
More information about the Rivet-svn mailing list |