rnd-20070425-1-src
[rocksndiamonds.git] / src / libgame / sound.c
index 51b62efc7a5572a24176b56f31f2a8d0d1eaadcd..c10575b8660625bd4182b62fccaee55a309c3481 100644 (file)
@@ -2110,7 +2110,7 @@ void PlaySoundExt(int nr, int volume, int stereo_position, int state)
   else if (stereo_position > SOUND_MAX_RIGHT)
     stereo_position = SOUND_MAX_RIGHT;
 
-  memset(&snd_ctrl, 0, sizeof(SoundControl));  /* to make valgrind happy */
+  clear_mem(&snd_ctrl, sizeof(SoundControl));  /* to make valgrind happy */
 
   snd_ctrl.active = TRUE;
   snd_ctrl.nr = nr;