mirror of
https://github.com/yawut/SDL.git
synced 2026-07-28 05:58:43 -05:00
Use SDL_zerop instead of SDL_memset.
This commit is contained in:
parent
59c33d9a0b
commit
809690101a
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user