mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-10-15 06:16:00 +00:00
Fixed Xcode warnings
This commit is contained in:
@@ -1572,7 +1572,7 @@ int HID_API_EXPORT_CALL hid_get_report_descriptor(hid_device *dev, unsigned char
|
||||
}
|
||||
|
||||
memcpy(buf, descriptor_buf, copy_len);
|
||||
return copy_len;
|
||||
return (int)copy_len;
|
||||
}
|
||||
else {
|
||||
register_device_error(dev, "Failed to get kIOHIDReportDescriptorKey property");
|
||||
|
Reference in New Issue
Block a user