We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 857

Summary: warnings in SDL_alsa_audio.c
Product: SDL Reporter: Ludwig Nussel <ludwig.nussel>
Component: audioAssignee: Ryan C. Gordon <icculus>
Status: RESOLVED FIXED QA Contact: Sam Lantinga <slouken>
Severity: minor    
Priority: P2    
Version: HG 1.2   
Hardware: Other   
OS: Linux   

Description Ludwig Nussel 2009-10-19 02:55:17 UTC
minor:
./src/audio/alsa/SDL_alsa_audio.c: In function 'ALSA_finalize_hardware':
./src/audio/alsa/SDL_alsa_audio.c:387: warning: pointer targets in passing argument 2 of 'SDL_snd_pcm_hw_params_get_period_size' differ in signednes
./src/audio/alsa/SDL_alsa_audio.c:387: note: expected 'snd_pcm_uframes_t *' but argument is of type 'snd_pcm_sframes_t *'
./src/audio/alsa/SDL_alsa_audio.c: In function 'ALSA_OpenAudio':
./src/audio/alsa/SDL_alsa_audio.c:470: warning: unused variable 'bufsize'
Comment 1 Sam Lantinga 2009-10-19 03:02:15 UTC
Fixed, thanks!