diff -urN SDL_mixer-1.2.6-orig/native_midi/native_midi_mac.c SDL_mixer-1.2.6/native_midi/native_midi_mac.c --- SDL_mixer-1.2.6-orig/native_midi/native_midi_mac.c 2004-12-15 22:20:14.000000000 -0700 +++ SDL_mixer-1.2.6/native_midi/native_midi_mac.c 2006-01-04 16:49:58.000000000 -0700 @@ -591,8 +591,12 @@ qtma_StuffGeneralEvent(*myPos1, *myPos2, part, kGeneralEventNoteRequest, kNoteRequestEventLength); myNoteRequest = (NoteRequest *)(myPos1 + 1); myNoteRequest->info.flags = 0; - myNoteRequest->info.polyphony = part_poly_max[part]; - myNoteRequest->info.typicalPolyphony = 0x00010000; + BigEndianShort bes; + bes.bigEndianValue = part_poly_max[part]; + myNoteRequest->info.polyphony = bes; + BigEndianFixed bef; + bef.bigEndianValue = 0x00010000; + myNoteRequest->info.typicalPolyphony = bef; myErr = NAStuffToneDescription(myNoteAllocator,part_to_inst[part],&myNoteRequest->tone); if (myErr != noErr) goto bail;