diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2013-11-28 20:45:09 +0100 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2013-11-28 20:45:09 +0100 |
commit | 9e394a8bd3dc07003a003ef304bbdd8c9234ee2b (patch) | |
tree | 0b7e96d63bb98030408b03d619e59027602b83b3 | |
parent | 24120608fdeaf15cfafefe4f982d89afcd104f8b (diff) |
Fix 64bit compile warning.
-rw-r--r-- | src/audiofile.cc | 4 |
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; |