summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2013-11-28 20:45:09 +0100
committerBent Bisballe Nyeng <deva@aasimon.org>2013-11-28 20:45:09 +0100
commit9e394a8bd3dc07003a003ef304bbdd8c9234ee2b (patch)
tree0b7e96d63bb98030408b03d619e59027602b83b3 /src
parent24120608fdeaf15cfafefe4f982d89afcd104f8b (diff)
Fix 64bit compile warning.
Diffstat (limited to 'src')
-rw-r--r--src/audiofile.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/audiofile.cc b/src/audiofile.cc
index 858edd7..169e11a 100644
--- a/src/audiofile.cc
+++ b/src/audiofile.cc
@@ -123,7 +123,7 @@ void AudioFile::load(int num_samples)
sample_t* data = new sample_t[size];
size = sf_read_float(fh, data, size);
- DEBUG(audiofile,"Loaded %d samples %p\n", size, this);
+ DEBUG(audiofile,"Loaded %d samples %p\n", (int)size, this);
sf_close(fh);
@@ -148,7 +148,7 @@ void AudioFile::load(int num_samples)
data = odata;
size = src.output_frames;
- DEBUG(audiofile,"Converted into %d samples %p\n", size, this);
+ DEBUG(audiofile,"Converted into %d samples %p\n", (int)size, this);
}
this->data = data;