diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2016-01-22 11:29:59 +0100 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2016-01-22 11:29:59 +0100 |
commit | 2f5237be2263fe11576d57b838690011a7af5a00 (patch) | |
tree | 8cb1717da3f4564342f40f2c97d65913c2293cb4 /src | |
parent | 55709c131cec7cc28d4dc32706dfdd5470c1ef49 (diff) |
Fixed more type mismatch warnings.
Diffstat (limited to 'src')
-rw-r--r-- | src/audiocachefile.cc | 2 | ||||
-rw-r--r-- | 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; |