From a4b089c6106093aadfc27d0e8a68761305e83838 Mon Sep 17 00:00:00 2001 From: Paul Brossier Date: Tue, 29 Mar 2005 16:13:54 +0000 Subject: [PATCH] midi_file.c by default, int is unsigned on powerpc. use signed int instead. --- ext/midi/midi_file.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.26.2