diff data/fileio/test/CSVStreamWriterTest.h @ 1454:743c38b209d0

Fix compiler warnings
author Chris Cannam
date Tue, 17 Apr 2018 10:54:48 +0100
parents deabf9fd3d28
children 0d4f1fcad97a
line wrap: on
line diff
--- a/data/fileio/test/CSVStreamWriterTest.h	Tue Apr 17 10:52:06 2018 +0100
+++ b/data/fileio/test/CSVStreamWriterTest.h	Tue Apr 17 10:54:48 2018 +0100
@@ -256,7 +256,7 @@
         regions.addSelection({0, 2});
         regions.addSelection({4, 6});
         regions.addSelection({16, 18});
-        qDebug("End frame: %lld", mwm.getEndFrame());
+        qDebug("End frame: %lld", (long long int)mwm.getEndFrame());
         const std::string expectedOutput {
           "0,0,0\n"
           "1,0,0\n"
@@ -307,7 +307,7 @@
 
         StubReporter reporter { []() -> bool { return false; } };
         std::ostringstream oss;
-        qDebug("End frame: %lld", notes.getEndFrame());
+        qDebug("End frame: %lld", (long long int)notes.getEndFrame());
         qDebug("Write streaming\n");
         const auto wroteSparseModel = CSVStreamWriter::writeInChunks(
             oss,
@@ -325,4 +325,4 @@
     }
 };
 
-#endif
\ No newline at end of file
+#endif