Changeset 54bf847 for ext


Ignore:
Timestamp:
Aug 8, 2005, 10:09:49 PM (19 years ago)
Author:
Paul Brossier <piem@altern.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:
b8976d6
Parents:
651b97e
Message:

fix gcc-4.0 type warnings

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ext/midi/midi_file.c

    r651b97e r54bf847  
    151151    return AUBIO_FAIL;
    152152  }
    153   if ((AUBIO_STRNCMP(mthd, "MThd", 4) != 0) || (mthd[7] != 6) || (mthd[9] > 2)) {
     153  if ((AUBIO_STRNCMP((const char*)mthd, "MThd", 4) != 0) || (mthd[7] != 6) || (mthd[9] > 2)) {
    154154    AUBIO_ERR( "Doesn't look like a MIDI file: invalid MThd header");
    155155    return AUBIO_FAIL;
Note: See TracChangeset for help on using the changeset viewer.