Changeset 46148d3


Ignore:
Timestamp:
Mar 12, 2014, 5:09:35 AM (10 years ago)
Author:
Paul Brossier <piem@piem.org>
Branches:
feature/autosink, feature/cnn, feature/cnn_org, feature/constantq, feature/crepe, feature/crepe_org, feature/pitchshift, feature/pydocstrings, feature/timestretch, fix/ffmpeg5, master, pitchshift, sampler, timestretch, yinfft+
Children:
332487b
Parents:
87636d0
Message:

src/io/source_wavread.c: hack around unknown conversion type char z on mingw

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/io/source_wavread.c

    r87636d0 r46148d3  
    218218  // check the total number of bytes read is correct
    219219  if ( bytes_read != bytes_expected ) {
     220#ifndef HAVE_WIN_HACKS
    220221    AUBIO_ERR("source_wavread: short read (%zd instead of %zd) in %s\n",
     222#else // mingw does not know about %zd...
     223    AUBIO_ERR("source_wavread: short read (%d instead of %d) in %s\n",
     224#endif
    221225        bytes_read, bytes_expected, s->path);
    222226    goto beach;
Note: See TracChangeset for help on using the changeset viewer.