Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fixed a compiler warning on Visual Studio.
  • Loading branch information
icculus committed Mar 20, 2015
1 parent 1877f57 commit 277e07e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/audio/SDL_audio.c
Expand Up @@ -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)) {
Expand Down
2 changes: 1 addition & 1 deletion src/audio/winmm/SDL_winmm.c
Expand Up @@ -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();
Expand Down

0 comments on commit 277e07e

Please sign in to comment.