Fixed bug #857 SDL-1.2
authorSam Lantinga <slouken@libsdl.org>
Mon, 19 Oct 2009 10:02:00 +0000
branchSDL-1.2
changeset 4365d91a8026e0aa
parent 4364 ae3d564e2716
child 4366 f00e178dfc9e
Fixed bug #857

Fixed compiler warnings
src/audio/alsa/SDL_alsa_audio.c
     1.1 --- a/src/audio/alsa/SDL_alsa_audio.c	Mon Oct 19 06:01:58 2009 +0000
     1.2 +++ b/src/audio/alsa/SDL_alsa_audio.c	Mon Oct 19 10:02:00 2009 +0000
     1.3 @@ -381,7 +381,7 @@
     1.4  
     1.5  	/* This is useful for debugging */
     1.6  	if ( getenv("SDL_AUDIO_ALSA_DEBUG") ) {
     1.7 -		snd_pcm_sframes_t persize = 0;
     1.8 +		snd_pcm_uframes_t persize = 0;
     1.9  		unsigned int periods = 0;
    1.10  
    1.11  		SDL_NAME(snd_pcm_hw_params_get_period_size)(hwparams, &persize, NULL);
    1.12 @@ -467,7 +467,6 @@
    1.13  	snd_pcm_format_t     format;
    1.14  	unsigned int         rate;
    1.15  	unsigned int 	     channels;
    1.16 -	snd_pcm_uframes_t    bufsize;
    1.17  	Uint16               test_format;
    1.18  
    1.19  	/* Open the audio device */