From dbb41f4a2d59d463975c6cebcfbdf3ae3c56aff0 Mon Sep 17 00:00:00 2001 From: nhmall Date: Fri, 8 Dec 2023 12:31:49 -0500 Subject: [PATCH] const warning in sound/fmod/fmod.c Parameter did not match those in include/sndprocs.h --- sound/fmod/fmod.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sound/fmod/fmod.c b/sound/fmod/fmod.c index 230047f3f..26ad2fff3 100644 --- a/sound/fmod/fmod.c +++ b/sound/fmod/fmod.c @@ -17,7 +17,7 @@ static void fmod_exit_nhsound(const char *); static void fmod_achievement(schar, schar, int32_t); static void fmod_soundeffect(char *, int32_t, int32_t); static void fmod_hero_playnotes(int32_t instrument, const char *str, int32_t volume); -static void fmod_play_usersound(const char *, int32_t, int32_t); +static void fmod_play_usersound(char *, int32_t, int32_t); static void fmod_ambience(int32_t, int32_t, int32_t); static void fmod_verbal(char *, int32_t, int32_t, int32_t, int32_t); @@ -72,7 +72,7 @@ static void fmod_hero_playnotes(int32_t instrument, const char *str, int32_t vol /* fulfill SOUND_TRIGGER_USERSOUNDS */ static void -fmod_play_usersound(const char *filename, int32_t volume UNUSED, int32_t idx UNUSED) +fmod_play_usersound(char *filename, int32_t volume UNUSED, int32_t idx UNUSED) { FMOD_System_CreateSound(systemvar, filename, FMOD_CREATESAMPLE, 0, &soundvar);