mirror of
https://github.com/yawut/SDL.git
synced 2026-08-25 10:14:57 -05:00
Use SDL_zerop instead of SDL_memset.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user