Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

Use SDL_zerop instead of SDL_memset.

  • Loading branch information
icculus committed Dec 19, 2008
1 parent 5cb258e commit d191fb3d7b28a53efdf5edb4172b4e10a45f3c02
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/audio/SDL_audiocvt.c
@@ -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;

0 comments on commit d191fb3

Please sign in to comment.