From: Paul Brossier Date: Sat, 31 Jan 2015 11:40:16 +0000 (+0100) Subject: src/io/source_wavread.c: cast size_t to int to avoid warning on win64 X-Git-Tag: 0.4.2~41 X-Git-Url: https://git.aubio.org/?a=commitdiff_plain;h=c952f4208effc2037d6e39a58e7d39034c7853f9;p=aubio.git src/io/source_wavread.c: cast size_t to int to avoid warning on win64 --- diff --git a/src/io/source_wavread.c b/src/io/source_wavread.c index ff3d3905..e93bb025 100644 --- a/src/io/source_wavread.c +++ b/src/io/source_wavread.c @@ -222,7 +222,7 @@ aubio_source_wavread_t * new_aubio_source_wavread(char_t * path, uint_t samplera bytes_read, bytes_expected, s->path); #else // mingw does not know about %zd... AUBIO_ERR("source_wavread: short read (%d instead of %d) in %s\n", - bytes_read, bytes_expected, s->path); + (int)bytes_read, (int)bytes_expected, s->path); #endif goto beach; }