diff data/model/SparseTimeValueModel.h @ 1110:1517d4c60e88

Fix a number of warnings in the 32-bit build
author Chris Cannam
date Wed, 01 Jul 2015 15:53:54 +0100
parents 57633d605547
children 48e9f538e6e9
line wrap: on
line diff
--- a/data/model/SparseTimeValueModel.h	Fri Jun 12 12:41:19 2015 +0100
+++ b/data/model/SparseTimeValueModel.h	Wed Jul 01 15:53:54 2015 +0100
@@ -29,13 +29,13 @@
 struct TimeValuePoint
 {
 public:
-    TimeValuePoint(long _frame) : frame(_frame), value(0.0f) { }
-    TimeValuePoint(long _frame, float _value, QString _label) : 
+    TimeValuePoint(sv_frame_t _frame) : frame(_frame), value(0.0f) { }
+    TimeValuePoint(sv_frame_t _frame, float _value, QString _label) : 
 	frame(_frame), value(_value), label(_label) { }
 
     int getDimensions() const { return 2; }
     
-    long frame;
+    sv_frame_t frame;
     float value;
     QString label;