fluidsynth.c
changeset 621 944412baab72
parent 617 87116a42526e
child 625 1d489d8ec2e0
     1.1 --- a/fluidsynth.c	Mon May 27 13:35:45 2013 -0700
     1.2 +++ b/fluidsynth.c	Sat Jun 01 10:11:20 2013 -0700
     1.3 @@ -76,7 +76,7 @@
     1.4      }
     1.5  
     1.6      if ((song = SDL_malloc(sizeof(FluidSynthMidiSong)))) {
     1.7 -        memset(song, 0, sizeof(FluidSynthMidiSong));
     1.8 +        SDL_memset(song, 0, sizeof(FluidSynthMidiSong));
     1.9  
    1.10          if (SDL_BuildAudioCVT(&song->convert, AUDIO_S16, 2, freq, format, channels, freq) >= 0) {
    1.11              if ((settings = fluidsynth.new_fluid_settings())) {
    1.12 @@ -208,7 +208,7 @@
    1.13      }
    1.14  
    1.15      if (src != dest)
    1.16 -        memcpy(dest, src, dest_len);
    1.17 +        SDL_memcpy(dest, src, dest_len);
    1.18  
    1.19      result = 0;
    1.20