mirror of
https://github.com/ZDoom/fluidsynth.git
synced 2024-11-10 15:01:40 +00:00
uchar to int
This commit is contained in:
parent
474806be9a
commit
664e97305a
1 changed files with 2 additions and 2 deletions
|
@ -1594,7 +1594,7 @@ 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);
|
||||
int count = fluid_mod_get_linked_count(mod);
|
||||
if(count < 1)
|
||||
{
|
||||
/* internal error: this should never happen */
|
||||
|
|
Loading…
Reference in a new issue