diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2016-01-23 22:04:38 +0100 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2016-01-23 22:04:38 +0100 |
commit | 64206ea00feee4bcb2c1f52fa9d63b925cdf1d4d (patch) | |
tree | 572b17279cd57b08440fbdf4be39132d8e95df75 | |
parent | b162c4023d1b8bd3d8720f09b50f9268aac41f8f (diff) |
Fix some size_t printf format warnings.
-rw-r--r-- | test/audiocachefiletest.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/audiocachefiletest.cc b/test/audiocachefiletest.cc index 3234b72..fb454d2 100644 --- a/test/audiocachefiletest.cc +++ b/test/audiocachefiletest.cc @@ -79,7 +79,7 @@ public: void readTestHelper(size_t bufferSize) { - printf("Test buffer size: %d samples\n", bufferSize); + printf("Test buffer size: %d samples\n", (int)bufferSize); std::string filename = "kit/ride-multi-channel.wav"; AudioFile* refFile[13]; @@ -128,7 +128,7 @@ public: } else { - printf("Last read: %d samples\n", readSize); + printf("Last read: %d samples\n", (int)readSize); } file.readChunk(channels, offset, readSize); |