I think that should be NULL, not 0 actually.

This commit is contained in:
Sryder 2018-10-07 00:22:23 +01:00
parent 7b417b573c
commit d072dd2725
1 changed files with 1 additions and 1 deletions

View File

@ -178,7 +178,7 @@ static Mix_Chunk *ds2chunk(void *stream)
return NULL; // would and/or did wrap, can't store.
break;
}
sound = Z_Malloc(newsamples<<2, PU_SOUND, 0); // samples * frequency shift * bytes per sample * channels
sound = Z_Malloc(newsamples<<2, PU_SOUND, NULL); // samples * frequency shift * bytes per sample * channels
s = (SINT8 *)stream;
d = (INT16 *)sound;