Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
Use SDL_zerop instead of SDL_memset.
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed Dec 19, 2008
1 parent 5cb258e commit d191fb3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/audio/SDL_audiocvt.c
Expand Up @@ -1836,7 +1836,7 @@ SDL_BuildAudioCVT(SDL_AudioCVT * cvt,
#endif

/* Start off with no conversion necessary */
SDL_memset(cvt, '\0', sizeof (SDL_AudioCVT));
SDL_zerop(cvt);
cvt->src_format = src_fmt;
cvt->dst_format = dst_fmt;
cvt->needed = 0;
Expand Down

0 comments on commit d191fb3

Please sign in to comment.