Fixed a compiler warning on Visual Studio.
authorRyan C. Gordon <icculus@icculus.org>
Thu, 19 Mar 2015 23:39:53 -0400
changeset 9404 f48039db971c
parent 9403 09e50e5fab64
child 9405 22d4e4b5a5e5
Fixed a compiler warning on Visual Studio.
src/audio/SDL_audio.c
src/audio/winmm/SDL_winmm.c
--- a/src/audio/SDL_audio.c	Thu Mar 19 23:35:43 2015 -0400
+++ b/src/audio/SDL_audio.c	Thu Mar 19 23:39:53 2015 -0400
@@ -972,7 +972,7 @@
     SDL_AudioDevice *device;
     SDL_bool build_cvt;
     void *handle = NULL;
-    int stream_len;
+    Uint32 stream_len;
     int i = 0;
 
     if (!SDL_WasInit(SDL_INIT_AUDIO)) {
--- a/src/audio/winmm/SDL_winmm.c	Thu Mar 19 23:35:43 2015 -0400
+++ b/src/audio/winmm/SDL_winmm.c	Thu Mar 19 23:39:53 2015 -0400
@@ -57,7 +57,7 @@
 DETECT_DEV_IMPL(SDL_TRUE, In, WAVEINCAPS)
 
 static void
-WINMM_DetectDevices()
+WINMM_DetectDevices(void)
 {
     DetectWaveInDevs();
     DetectWaveOutDevs();