mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-10-17 23:31:45 +00:00
Fixed Visual Studio warning 4244
This commit is contained in:
@@ -603,7 +603,7 @@ static int hid_get_bluetooth_info(const char *path, struct hid_device_info* dev)
|
||||
for (id = compatible_ids; *id; id += wcslen(id) + 1) {
|
||||
/* Normalize to upper case */
|
||||
wchar_t* p = id;
|
||||
for (; *p; ++p) *p = towupper(*p);
|
||||
for (; *p; ++p) *p = (wchar_t)towupper(*p);
|
||||
|
||||
/* USB devices
|
||||
https://docs.microsoft.com/windows-hardware/drivers/hid/plug-and-play-support
|
||||
|
Reference in New Issue
Block a user