projects
/
aubio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
65ebf30
)
midi_file.c
author
Paul Brossier
<piem@altern.org>
Tue, 29 Mar 2005 16:13:54 +0000
(16:13 +0000)
committer
Paul Brossier
<piem@altern.org>
Tue, 29 Mar 2005 16:13:54 +0000
(16:13 +0000)
by default, int is unsigned on powerpc. use signed int instead.
ext/midi/midi_file.c
patch
|
blob
|
history
diff --git
a/ext/midi/midi_file.c
b/ext/midi/midi_file.c
index c069a78e6868636b182be50e5e856b1c298e505b..cb1fc37ec7d33c801d4ee38a7479d08db7f0420f 100644
(file)
--- 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;
}