Commit 277e07e7007f10e14e2db25dfc050a1b5896fc8f

Ryan C. Gordon 2015-03-19T23:39:53

Fixed a compiler warning on Visual Studio.

diff --git a/src/audio/SDL_audio.c b/src/audio/SDL_audio.c
index e568029..60eb481 100644
--- a/src/audio/SDL_audio.c
+++ b/src/audio/SDL_audio.c
@@ -972,7 +972,7 @@ open_audio_device(const char *devname, int iscapture,
     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)) {
diff --git a/src/audio/winmm/SDL_winmm.c b/src/audio/winmm/SDL_winmm.c
index ede4049..83f5cec 100644
--- a/src/audio/winmm/SDL_winmm.c
+++ b/src/audio/winmm/SDL_winmm.c
@@ -57,7 +57,7 @@ DETECT_DEV_IMPL(SDL_FALSE, Out, WAVEOUTCAPS)
 DETECT_DEV_IMPL(SDL_TRUE, In, WAVEINCAPS)
 
 static void
-WINMM_DetectDevices()
+WINMM_DetectDevices(void)
 {
     DetectWaveInDevs();
     DetectWaveOutDevs();