From 6f933fa7364f2f1e45d00ee881f4a767161c791a Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Fri, 30 Nov 2001 16:33:05 +0000 Subject: [PATCH] *** empty log message *** --- music.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/music.c b/music.c index 71528828..380197ab 100644 --- a/music.c +++ b/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 ) {