src/audio/alsa/SDL_alsa_audio.c
changeset 10257 f17581d00c26
parent 10256 620329de23d4
child 10286 3b884985835c
     1.1 --- a/src/audio/alsa/SDL_alsa_audio.c	Fri Aug 05 01:44:15 2016 -0400
     1.2 +++ b/src/audio/alsa/SDL_alsa_audio.c	Fri Aug 05 01:59:06 2016 -0400
     1.3 @@ -539,7 +539,7 @@
     1.4      if (this->hidden == NULL) {
     1.5          return SDL_OutOfMemory();
     1.6      }
     1.7 -    SDL_memset(this->hidden, 0, (sizeof *this->hidden));
     1.8 +    SDL_zerop(this->hidden);
     1.9  
    1.10      /* Open the audio device */
    1.11      /* Name of device should depend on # channels in spec */