src/io/source_wavread.c: cast size_t to int to avoid warning on win64
authorPaul Brossier <piem@piem.org>
Sat, 31 Jan 2015 11:40:16 +0000 (12:40 +0100)
committerPaul Brossier <piem@piem.org>
Sat, 31 Jan 2015 11:40:16 +0000 (12:40 +0100)
src/io/source_wavread.c

index ff3d390..e93bb02 100644 (file)
@@ -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;
   }