Browse Source

Fixed a compiler warning on Visual Studio.

Ryan C. Gordon 10 years ago
parent
commit
277e07e700
2 changed files with 2 additions and 2 deletions
  1. 1 1
      src/audio/SDL_audio.c
  2. 1 1
      src/audio/winmm/SDL_winmm.c

+ 1 - 1
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)) {

+ 1 - 1
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();