From: Paul Brossier Date: Tue, 29 Mar 2005 16:13:54 +0000 (+0000) Subject: midi_file.c X-Git-Tag: bzr2git~932 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=a4b089c6106093aadfc27d0e8a68761305e83838;p=aubio.git midi_file.c by default, int is unsigned on powerpc. use signed int instead. --- diff --git a/ext/midi/midi_file.c b/ext/midi/midi_file.c index c069a78e..cb1fc37e 100644 --- a/ext/midi/midi_file.c +++ b/ext/midi/midi_file.c @@ -146,7 +146,7 @@ int aubio_midi_file_skip(aubio_midi_file_t* mf, int skip) /** aubio_midi_file_read_mthd */ int aubio_midi_file_read_mthd(aubio_midi_file_t* mf) { - char mthd[15]; + signed char mthd[15]; if (aubio_midi_file_read(mf, mthd, 14) != AUBIO_OK) { return AUBIO_FAIL; }