# HG changeset patch # User Chris Cannam # Date 1409733988 -3600 # Node ID df83865d886fb92df81221032a8590ba7a2015e1 # Parent d002827b589622a916b55e548c534d9bc05fd723 Fix accidental declaration of section as bool rather than int (definitely a bug but what did it cause? see #1051, we need units here) (from coverity scan) diff -r d002827b5896 -r df83865d886f base/RealTime.cpp --- a/base/RealTime.cpp Wed Sep 03 09:46:01 2014 +0100 +++ b/base/RealTime.cpp Wed Sep 03 09:46:28 2014 +0100 @@ -208,7 +208,7 @@ RealTime::fromString(std::string s) { bool negative = false; - bool section = 0; + int section = 0; std::string ssec, snsec; for (size_t i = 0; i < s.length(); ++i) {