Fixed warning C4244: '=': conversion from 'SDL_bool' to 'Uint8', possible loss of data

This commit is contained in:
Sam Lantinga 2023-12-29 09:29:29 -08:00
parent ebd7f9adbd
commit 9906d6d3bc
1 changed files with 1 additions and 1 deletions

View File

@ -1802,7 +1802,7 @@ static void RAWINPUT_UpdateOtherAPIs(SDL_Joystick *joystick)
}
}
if (!ctx->wgi_correlated) {
SDL_bool new_correlation_count = 0;
Uint8 new_correlation_count = 0;
if (RAWINPUT_MissingWindowsGamingInputSlot()) {
Uint8 correlation_id = 0;
WindowsGamingInputGamepadState *slot_idx = NULL;