src/audio/winmm/SDL_winmm.c
changeset 6352 a9bcd26e7105
parent 6138 4c64952a58fb
child 6430 48d519500f7e
     1.1 --- a/src/audio/winmm/SDL_winmm.c	Thu Jul 05 07:26:18 2012 -0400
     1.2 +++ b/src/audio/winmm/SDL_winmm.c	Thu Jul 05 12:16:44 2012 -0400
     1.3 @@ -369,7 +369,7 @@
     1.4          return 0;
     1.5      }
     1.6      for (i = 0; i < NUM_BUFFERS; ++i) {
     1.7 -        SDL_memset(&this->hidden->wavebuf[i], '\0',
     1.8 +        SDL_memset(&this->hidden->wavebuf[i], 0,
     1.9                     sizeof(this->hidden->wavebuf[i]));
    1.10          this->hidden->wavebuf[i].dwBufferLength = this->spec.size;
    1.11          this->hidden->wavebuf[i].dwFlags = WHDR_DONE;