mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-07 15:10:49 +00:00
Fixed signed/unsigned warnings
Fixes https://github.com/libsdl-org/SDL/issues/7424
This commit is contained in:
parent
53bde3abee
commit
ba87b96cea
3 changed files with 4 additions and 4 deletions
|
|
@ -421,7 +421,7 @@ static int get_device_string(hid_device *dev, enum device_string_id key, wchar_t
|
|||
const char *str;
|
||||
const char *key_str = NULL;
|
||||
|
||||
if (key >= 0 && key < DEVICE_STRING_COUNT) {
|
||||
if ((int)key >= 0 && (int)key < DEVICE_STRING_COUNT) {
|
||||
key_str = device_string_names[key];
|
||||
} else {
|
||||
ret = -1;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue