Use SDL_zerop instead of SDL_memset.
--HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403341
This commit is contained in:
parent
d7d4dc4b7e
commit
45ed26c3c2
1 changed files with 1 additions and 1 deletions
|
@ -1836,7 +1836,7 @@ SDL_BuildAudioCVT(SDL_AudioCVT * cvt,
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Start off with no conversion necessary */
|
/* Start off with no conversion necessary */
|
||||||
SDL_memset(cvt, '\0', sizeof (SDL_AudioCVT));
|
SDL_zerop(cvt);
|
||||||
cvt->src_format = src_fmt;
|
cvt->src_format = src_fmt;
|
||||||
cvt->dst_format = dst_fmt;
|
cvt->dst_format = dst_fmt;
|
||||||
cvt->needed = 0;
|
cvt->needed = 0;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue