changeset 782:700fc9e4852d

Fix compiler warnings
author Chris Cannam
date Fri, 17 Jul 2020 14:24:30 +0100
parents b651dc5ff555
children 4d10365aa6a9
files align/TransformDTWAligner.cpp
diffstat 1 files changed, 6 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/align/TransformDTWAligner.cpp	Thu Jul 16 18:01:50 2020 +0100
+++ b/align/TransformDTWAligner.cpp	Fri Jul 17 14:24:30 2020 +0100
@@ -200,7 +200,11 @@
 }
 
 void
-TransformDTWAligner::completionChanged(ModelId id)
+TransformDTWAligner::completionChanged(ModelId
+#ifdef DEBUG_TRANSFORM_DTW_ALIGNER
+                                       id
+#endif
+    )
 {
     if (!m_incomplete) {
         return;
@@ -297,7 +301,7 @@
                               sv_samplerate_t sampleRate,
                               sv_frame_t resolution)
 {
-    Path path(sampleRate, resolution);
+    Path path(sampleRate, int(resolution));
 
     path.add(PathPoint(0, 0));