shithub: aubio

Download patch

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

src/io/source_wavread.c: avoid orphan parenthesis

--- a/src/io/source_wavread.c
+++ b/src/io/source_wavread.c
@@ -219,10 +219,11 @@
   if ( bytes_read != bytes_expected ) {
 #ifndef HAVE_WIN_HACKS
     AUBIO_ERR("source_wavread: short read (%zd instead of %zd) in %s\n",
+        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",
-#endif
         bytes_read, bytes_expected, s->path);
+#endif
     goto beach;
   }
   s->seek_start = bytes_read;