diff data/model/SparseTimeValueModel.h @ 1038:cc27f35aa75c cxx11

Introducing the signed 64-bit frame index type, and fixing build failures from inclusion of -Wconversion with -Werror. Not finished yet.
author Chris Cannam
date Tue, 03 Mar 2015 15:18:24 +0000
parents ad14e7ed096d
children a1cd5abcb38b
line wrap: on
line diff
--- a/data/model/SparseTimeValueModel.h	Tue Mar 03 09:33:59 2015 +0000
+++ b/data/model/SparseTimeValueModel.h	Tue Mar 03 15:18:24 2015 +0000
@@ -168,7 +168,7 @@
         command->deletePoint(point);
 
         switch (column) {
-        case 2: point.value = value.toDouble(); break;
+        case 2: point.value = float(value.toDouble()); break;
         case 3: point.label = value.toString(); break;
         }