diff data/fileio/test/AudioFileReaderTest.h @ 1323:4dbb7a7c9c28 3.0-integration

Fix compiler warnings
author Chris Cannam
date Fri, 09 Dec 2016 19:04:33 +0000
parents af0ccbb3e3d7
children 54af1e21705c
line wrap: on
line diff
--- a/data/fileio/test/AudioFileReaderTest.h	Fri Dec 09 18:01:55 2016 +0000
+++ b/data/fileio/test/AudioFileReaderTest.h	Fri Dec 09 19:04:33 2016 +0000
@@ -459,7 +459,7 @@
             
             for (sv_frame_t i = refFrames; i + offset < read; ++i) {
                 sv_frame_t ix = i + offset;
-                float quiet = 0.1; //!!! allow some ringing - but let's come back to this, it should tail off
+                float quiet = 0.1f; //!!! allow some ringing - but let's come back to this, it should tail off
                 float mag = fabsf(test[ix * channels + c]);
                 if (mag > quiet) {
                     cerr << "ERROR: audiofile " << audiofile << " contains spurious data after end of reference (found sample " << test[ix * channels + c] << " at index " << ix << " of channel " << c << " after reference+offset ended at " << refFrames+offset << ")" << endl;