avoid assigning incompatible pointers

This commit is contained in:
derselbst 2018-04-21 22:31:18 +02:00
parent 17dded3700
commit 323b9b8cbf

View file

@ -459,7 +459,8 @@ fluid_sample_set_sound_data (fluid_sample_t* sample,
{
FLUID_FREE(sample->data);
FLUID_FREE(sample->data24);
sample->data = sample->data24 = NULL;
sample->data = NULL;
sample->data24 = NULL;
}
if (copy_data)