Commit 545a83ee authored by Mark Friedrichs's avatar Mark Friedrichs
Browse files

Mod to quiet gcc (Ubuntu 4.3.3-5ubuntu4)

parent 853ae8e8
...@@ -862,7 +862,7 @@ std::string ValidateOpenMMForces::getSummary( std::vector<ForceValidationResult* ...@@ -862,7 +862,7 @@ std::string ValidateOpenMMForces::getSummary( std::vector<ForceValidationResult*
(void) LOCAL_SPRINTF0( value, "\n" ); (void) LOCAL_SPRINTF0( value, "\n" );
summary << _getLine( tab, " ", value ); summary << _getLine( tab, " ", value );
if( inconsistentIndices.size() > 0 ){ if( inconsistentIndices.size() > 0 ){
(void) LOCAL_SPRINTF( value, "%u\n", inconsistentIndices.size() ); (void) LOCAL_SPRINTF( value, "%u\n", static_cast<unsigned int>(inconsistentIndices.size()) );
summary << _getLine( tab, "Total errors", value ); summary << _getLine( tab, "Total errors", value );
} }
if( forceValidationResults[ii]->nansDetected() ){ if( forceValidationResults[ii]->nansDetected() ){
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment