mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-05-14 07:38:24 +02:00
hidapi: syncing with mainstream:
- macos, pthread_barrier_wait: properly check the wait condition - windows: Assert that struct has the correct size - windows: Fix printf/string-related issues - other miscellaneous stuff irrelevant in SDL. (for symmetry...)
This commit is contained in:
@@ -77,7 +77,7 @@ void print_device(struct hid_device_info *cur_dev) {
|
||||
printf(" Release: %hx\n", cur_dev->release_number);
|
||||
printf(" Interface: %d\n", cur_dev->interface_number);
|
||||
printf(" Usage (page): 0x%hx (0x%hx)\n", cur_dev->usage, cur_dev->usage_page);
|
||||
printf(" Bus type: %d (%s)\n", cur_dev->bus_type, hid_bus_name(cur_dev->bus_type));
|
||||
printf(" Bus type: %u (%s)\n", (unsigned)cur_dev->bus_type, hid_bus_name(cur_dev->bus_type));
|
||||
printf("\n");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user