mirror of
https://github.com/ZDoom/fluidsynth.git
synced 2024-11-10 15:01:40 +00:00
char is unsigned on some platforms/compilers (e.g. on Linaro ARM 2016.11)
This commit is contained in:
parent
c57507a518
commit
267325f107
1 changed files with 1 additions and 1 deletions
|
@ -238,7 +238,7 @@ fluid_midi_file_read_mthd(fluid_midi_file *mf)
|
|||
mf->type = mthd[9];
|
||||
mf->ntracks = (unsigned) mthd[11];
|
||||
mf->ntracks += (unsigned int) (mthd[10]) << 16;
|
||||
if ((mthd[12]) < 0) {
|
||||
if ((mthd[12]) & (1 << 7)) {
|
||||
mf->uses_smpte = 1;
|
||||
mf->smpte_fps = -mthd[12];
|
||||
mf->smpte_res = (unsigned) mthd[13];
|
||||
|
|
Loading…
Reference in a new issue