diff --git a/src/sdl/mixer_sound.c b/src/sdl/mixer_sound.c
index ff2b029a5ee1815100bf671c77aa48316c08b1a3..64b7cc722ff03b4525788e76e2218e7814e35172 100644
--- a/src/sdl/mixer_sound.c
+++ b/src/sdl/mixer_sound.c
@@ -158,14 +158,14 @@ static void MidiSoundfontPath_Onchange(void)
 
 	if (stricmp(Mix_GetSoundFonts(), cv_midisoundfontpath.string))
 	{
-		char *token;
+		char *miditoken;
 		char *source = strdup(cv_midisoundfontpath.string);
 		boolean proceed = true;
 		// check if file exists; menu calls this method at every keystroke
 
-		while ((token = strtok_r(source, ";", &source)))
+		while ((miditoken = strtok_r(source, ";", &source)))
 		{
-			SDL_RWops *rw = SDL_RWFromFile(token, "r");
+			SDL_RWops *rw = SDL_RWFromFile(miditoken, "r");
 			if (rw != NULL)
 				SDL_RWclose(rw);
 			else