diff data/fileio/CSVStreamWriter.h @ 1454:743c38b209d0

Fix compiler warnings
author Chris Cannam
date Tue, 17 Apr 2018 10:54:48 +0100
parents 6e9615bde1f9
children 560453546749
line wrap: on
line diff
--- a/data/fileio/CSVStreamWriter.h	Tue Apr 17 10:52:06 2018 +0100
+++ b/data/fileio/CSVStreamWriter.h	Tue Apr 17 10:54:48 2018 +0100
@@ -80,7 +80,8 @@
             }
 
             nFramesWritten += end - start;
-            const auto currentProgress = 100 * nFramesWritten / nFramesToWrite;
+            const int currentProgress =
+                int(100 * nFramesWritten / nFramesToWrite);
             const bool hasIncreased = currentProgress > previousProgress;
             if (hasIncreased) {
                 if (reporter) reporter->setProgress(currentProgress);