Fix bug 4746 - introduce SDL_zeroa macro.

This commit is contained in:
Ozkan Sezer
2019-07-31 01:22:02 +03:00
parent f96d7cc0fd
commit 7a47c292c0
5 changed files with 9 additions and 8 deletions

View File

@@ -647,7 +647,7 @@ MS_ADPCM_Decode(WaveFile *file, Uint8 **audio_buf, Uint32 *audio_len)
MS_ADPCM_ChannelState cstate[2];
SDL_zero(state);
SDL_zero(cstate);
SDL_zeroa(cstate);
if (chunk->size != chunk->length) {
/* Could not read everything. Recalculate number of sample frames. */