mirror of
https://github.com/ZDoom/fluidsynth.git
synced 2025-01-21 00:41:12 +00:00
fix build
This commit is contained in:
parent
8fca88942d
commit
ce6c5cadcb
1 changed files with 1 additions and 1 deletions
|
@ -386,7 +386,7 @@ static int fluid_cached_sampledata_load(char *filename,
|
|||
if (loaded_sample24data == NULL) {
|
||||
FLUID_LOG(FLUID_ERR, "Out of memory when allocating 24bit sample, ignoring");
|
||||
}
|
||||
else if (fcbs->fread(loaded_sample24data, 1, sample24size, fd) == FLUID_FAILED) {
|
||||
else if (fcbs->fread(loaded_sample24data, sample24size, fd) == FLUID_FAILED) {
|
||||
FLUID_LOG(FLUID_ERR, "Failed to read sample24 data");
|
||||
FLUID_FREE(loaded_sample24data);
|
||||
loaded_sample24data = NULL;
|
||||
|
|
Loading…
Reference in a new issue