Fixed a compiler warning on Visual Studio.
authorRyan C. Gordon <icculus@icculus.org>
Thu, 19 Mar 2015 23:39:53 -0400
changeset 9404f48039db971c
parent 9403 09e50e5fab64
child 9405 22d4e4b5a5e5
Fixed a compiler warning on Visual Studio.
src/audio/SDL_audio.c
src/audio/winmm/SDL_winmm.c
     1.1 --- a/src/audio/SDL_audio.c	Thu Mar 19 23:35:43 2015 -0400
     1.2 +++ b/src/audio/SDL_audio.c	Thu Mar 19 23:39:53 2015 -0400
     1.3 @@ -972,7 +972,7 @@
     1.4      SDL_AudioDevice *device;
     1.5      SDL_bool build_cvt;
     1.6      void *handle = NULL;
     1.7 -    int stream_len;
     1.8 +    Uint32 stream_len;
     1.9      int i = 0;
    1.10  
    1.11      if (!SDL_WasInit(SDL_INIT_AUDIO)) {
     2.1 --- a/src/audio/winmm/SDL_winmm.c	Thu Mar 19 23:35:43 2015 -0400
     2.2 +++ b/src/audio/winmm/SDL_winmm.c	Thu Mar 19 23:39:53 2015 -0400
     2.3 @@ -57,7 +57,7 @@
     2.4  DETECT_DEV_IMPL(SDL_TRUE, In, WAVEINCAPS)
     2.5  
     2.6  static void
     2.7 -WINMM_DetectDevices()
     2.8 +WINMM_DetectDevices(void)
     2.9  {
    2.10      DetectWaveInDevs();
    2.11      DetectWaveOutDevs();