src/codecs/timidity/readmidi.c
changeset 1083 7a3b49dbf90f
parent 1069 8d8ebc200fd4
child 1084 c7cedfb5f65f
     1.1 --- a/src/codecs/timidity/readmidi.c	Thu Dec 12 17:28:10 2019 +0300
     1.2 +++ b/src/codecs/timidity/readmidi.c	Mon Dec 16 10:33:55 2019 +0300
     1.3 @@ -537,7 +537,7 @@
     1.4  	return NULL;
     1.5        }
     1.6    }
     1.7 -  len=SDL_SwapBE32(len);
     1.8 +  len=(Sint32)SDL_SwapBE32((Uint32)len);
     1.9    if (memcmp(tmp, "MThd", 4) || len < 6)
    1.10      {
    1.11        SNDDBG(("Not a MIDI file!\n"));