Audio device IDs are unsigned

This commit is contained in:
Sam Lantinga 2024-07-22 05:46:55 -07:00
parent 033c9c5951
commit 9bfd0d901c
1 changed files with 2 additions and 2 deletions

View File

@ -287,7 +287,7 @@ typedef Uint32 SDL_AudioDeviceID;
*
* \since This macro is available since SDL 3.0.0.
*/
#define SDL_AUDIO_DEVICE_DEFAULT_PLAYBACK ((SDL_AudioDeviceID) 0xFFFFFFFF)
#define SDL_AUDIO_DEVICE_DEFAULT_PLAYBACK ((SDL_AudioDeviceID) 0xFFFFFFFFu)
/**
* A value used to request a default recording audio device.
@ -298,7 +298,7 @@ typedef Uint32 SDL_AudioDeviceID;
*
* \since This macro is available since SDL 3.0.0.
*/
#define SDL_AUDIO_DEVICE_DEFAULT_RECORDING ((SDL_AudioDeviceID) 0xFFFFFFFE)
#define SDL_AUDIO_DEVICE_DEFAULT_RECORDING ((SDL_AudioDeviceID) 0xFFFFFFFEu)
/**
* Format specifier for audio data.