Use SDL_zerop instead of SDL_memset.
authorRyan C. Gordon <icculus@icculus.org>
Fri, 19 Dec 2008 06:43:41 +0000
changeset 28793ff86c46d324
parent 2878 10c319ce07fb
child 2880 3c2f56e433a8
Use SDL_zerop instead of SDL_memset.
src/audio/SDL_audiocvt.c
     1.1 --- a/src/audio/SDL_audiocvt.c	Fri Dec 19 06:01:03 2008 +0000
     1.2 +++ b/src/audio/SDL_audiocvt.c	Fri Dec 19 06:43:41 2008 +0000
     1.3 @@ -1836,7 +1836,7 @@
     1.4  #endif
     1.5  
     1.6      /* Start off with no conversion necessary */
     1.7 -    SDL_memset(cvt, '\0', sizeof (SDL_AudioCVT));
     1.8 +    SDL_zerop(cvt);
     1.9      cvt->src_format = src_fmt;
    1.10      cvt->dst_format = dst_fmt;
    1.11      cvt->needed = 0;