changeset 2879:3ff86c46d324

Use SDL_zerop instead of SDL_memset.
author Ryan C. Gordon <icculus@icculus.org>
date Fri, 19 Dec 2008 06:43:41 +0000
parents 10c319ce07fb
children 3c2f56e433a8
files src/audio/SDL_audiocvt.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/audio/SDL_audiocvt.c	Fri Dec 19 06:01:03 2008 +0000
+++ b/src/audio/SDL_audiocvt.c	Fri Dec 19 06:43:41 2008 +0000
@@ -1836,7 +1836,7 @@
 #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;