music.c
changeset 133 2f15d225fe94
parent 129 782927d8df26
child 135 b9cc87fba5ac
     1.1 --- a/music.c	Fri Nov 30 16:06:41 2001 +0000
     1.2 +++ b/music.c	Fri Nov 30 16:33:05 2001 +0000
     1.3 @@ -448,7 +448,7 @@
     1.4  	/* MIDI files have the magic four bytes "MThd" */
     1.5  	if ( (ext && (MIX_string_equals(ext, "MID") == 0)) ||
     1.6  	     (ext && (MIX_string_equals(ext, "MIDI") == 0)) ||
     1.7 -	     strcmp(magic, "MThd") == 0 ) {
     1.8 +	     strcmp((char *)magic, "MThd") == 0 ) {
     1.9  		music->type = MUS_MID;
    1.10  #ifdef USE_NATIVE_MIDI
    1.11    		if ( native_midi_ok ) {
    1.12 @@ -476,7 +476,7 @@
    1.13  #ifdef OGG_MUSIC
    1.14  	/* Ogg Vorbis files have the magic four bytes "OggS" */
    1.15  	if ( (ext && (MIX_string_equals(ext, "OGG") == 0)) ||
    1.16 -	     strcmp(magic, "OggS") == 0 ) {
    1.17 +	     strcmp((char *)magic, "OggS") == 0 ) {
    1.18  		music->type = MUS_OGG;
    1.19  		music->data.ogg = OGG_new(file);
    1.20  		if ( music->data.ogg == NULL ) {