From 9e394a8bd3dc07003a003ef304bbdd8c9234ee2b Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Thu, 28 Nov 2013 20:45:09 +0100 Subject: Fix 64bit compile warning. --- src/audiofile.cc | 4 ++-- 1 file 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; -- cgit v1.2.3