projects
/
aubio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4d6024f
)
src/io/source_wavread.c: avoid orphan parenthesis
author
Paul Brossier
<piem@piem.org>
Sat, 31 Jan 2015 11:21:40 +0000
(12:21 +0100)
committer
Paul Brossier
<piem@piem.org>
Sat, 31 Jan 2015 11:21:40 +0000
(12:21 +0100)
src/io/source_wavread.c
patch
|
blob
|
history
diff --git
a/src/io/source_wavread.c
b/src/io/source_wavread.c
index
e01847f
..
ff3d390
100644
(file)
--- a/
src/io/source_wavread.c
+++ b/
src/io/source_wavread.c
@@
-219,10
+219,11
@@
aubio_source_wavread_t * new_aubio_source_wavread(char_t * path, uint_t samplera
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;