summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/audiocachefile.cc2
-rw-r--r--src/drumgizmo.cc2
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;