shithub: aubio

Download patch

ref: c952f4208effc2037d6e39a58e7d39034c7853f9
parent: bc6b2aff406402b398a6ee959027150df5f746d6
author: Paul Brossier <piem@piem.org>
date: Sat Jan 31 07:40:16 EST 2015

src/io/source_wavread.c: cast size_t to int to avoid warning on win64

--- a/src/io/source_wavread.c
+++ b/src/io/source_wavread.c
@@ -222,7 +222,7 @@
         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;
   }