diff options
Diffstat (limited to 'Alc/midi/sf2load.c')
-rw-r--r-- | Alc/midi/sf2load.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/midi/sf2load.c b/Alc/midi/sf2load.c index 2adb7366..5b7eee4a 100644 --- a/Alc/midi/sf2load.c +++ b/Alc/midi/sf2load.c @@ -814,7 +814,7 @@ static void fillZone(ALfontsound *sound, ALCcontext *context, const GenModList * src1in != AL_INVALID && src1form != AL_INVALID && src0type != AL_INVALID && trans != AL_INVALID) { - ALsizei idx = mod - VECTOR_ITER_BEGIN(zone->mods); + ALsizei idx = (ALsizei)(mod - VECTOR_ITER_BEGIN(zone->mods)); ALfontsound_setModStagei(sound, context, idx, AL_SOURCE0_INPUT_SOFT, src0in); ALfontsound_setModStagei(sound, context, idx, AL_SOURCE0_TYPE_SOFT, src0type); ALfontsound_setModStagei(sound, context, idx, AL_SOURCE0_FORM_SOFT, src0form); |