Skip to content
Permalink
Browse files
*** empty log message ***
  • Loading branch information
slouken committed Nov 30, 2001
1 parent 4755b82 commit 6f933fa7364f2f1e45d00ee881f4a767161c791a
Showing with 2 additions and 2 deletions.
  1. +2 −2 music.c
@@ -448,7 +448,7 @@ Mix_Music *Mix_LoadMUS(const char *file)
/* MIDI files have the magic four bytes "MThd" */
if ( (ext && (MIX_string_equals(ext, "MID") == 0)) ||
(ext && (MIX_string_equals(ext, "MIDI") == 0)) ||
strcmp(magic, "MThd") == 0 ) {
strcmp((char *)magic, "MThd") == 0 ) {
music->type = MUS_MID;
#ifdef USE_NATIVE_MIDI
if ( native_midi_ok ) {
@@ -476,7 +476,7 @@ Mix_Music *Mix_LoadMUS(const char *file)
#ifdef OGG_MUSIC
/* Ogg Vorbis files have the magic four bytes "OggS" */
if ( (ext && (MIX_string_equals(ext, "OGG") == 0)) ||
strcmp(magic, "OggS") == 0 ) {
strcmp((char *)magic, "OggS") == 0 ) {
music->type = MUS_OGG;
music->data.ogg = OGG_new(file);
if ( music->data.ogg == NULL ) {

0 comments on commit 6f933fa

Please sign in to comment.