mirror of
https://github.com/ZDoom/fluidsynth.git
synced 2024-12-01 00:21:14 +00:00
avoid assigning incompatible pointers
This commit is contained in:
parent
17dded3700
commit
323b9b8cbf
1 changed files with 2 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue