From 2f5237be2263fe11576d57b838690011a7af5a00 Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Fri, 22 Jan 2016 11:29:59 +0100 Subject: Fixed more type mismatch warnings. --- src/audiocachefile.cc | 2 +- src/drumgizmo.cc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/audiocachefile.cc b/src/audiocachefile.cc index ba8ff96..942afd3 100644 --- a/src/audiocachefile.cc +++ b/src/audiocachefile.cc @@ -77,7 +77,7 @@ void AudioCacheFile::readChunk(const CacheChannels& channels, { assert(fh != nullptr); // File handle must never be nullptr - if(pos > sf_info.frames) + if((int)pos > sf_info.frames) { printf("pos (%d) > sf_info.frames (%d)\n", (int)pos, (int)sf_info.frames); return; diff --git a/src/drumgizmo.cc b/src/drumgizmo.cc index 00e93d1..a83b312 100644 --- a/src/drumgizmo.cc +++ b/src/drumgizmo.cc @@ -178,7 +178,7 @@ void DrumGizmo::setFrameSize(size_t framesize) } if(this->framesize != framesize) { - printf("New framesize: %d\n", framesize); + printf("New framesize: %d\n", (int)framesize); this->framesize = framesize; -- cgit v1.2.3