From 664e97305a33ec5b6ba3404d74bae88d20e67277 Mon Sep 17 00:00:00 2001 From: derselbst Date: Wed, 16 Oct 2019 11:24:07 +0200 Subject: [PATCH] uchar to int --- src/synth/fluid_voice.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/synth/fluid_voice.c b/src/synth/fluid_voice.c index fd1c8c53..6b3cbf46 100644 --- a/src/synth/fluid_voice.c +++ b/src/synth/fluid_voice.c @@ -1594,8 +1594,8 @@ fluid_voice_add_mod_local(fluid_voice_t *voice, fluid_mod_t *mod, int mode, int { int i; /* number of modulators to add: 1 for unlinked, > 1 for complex modulators */ - unsigned char count = fluid_mod_get_linked_count(mod); - if( count < 1) + int count = fluid_mod_get_linked_count(mod); + if(count < 1) { /* internal error: this should never happen */ FLUID_LOG(FLUID_ERR, "invalid modulator member count:%d.", count);