changeset 957:df83865d886f

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)
author Chris Cannam
date Wed, 03 Sep 2014 09:46:28 +0100
parents d002827b5896
children f3c97321e43d
files base/RealTime.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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) {