summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2016-01-23 22:04:38 +0100
committerBent Bisballe Nyeng <deva@aasimon.org>2016-01-23 22:04:38 +0100
commit64206ea00feee4bcb2c1f52fa9d63b925cdf1d4d (patch)
tree572b17279cd57b08440fbdf4be39132d8e95df75 /test
parentb162c4023d1b8bd3d8720f09b50f9268aac41f8f (diff)
Fix some size_t printf format warnings.
Diffstat (limited to 'test')
-rw-r--r--test/audiocachefiletest.cc4
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);