mirror of
https://github.com/RPCS3/libusb.git
synced 2024-11-23 18:19:40 +00:00
darwnin: fix compilation warning
os/darwin_usb.c:81:14: warning: initializing 'char *' with an expression of type 'const char [12]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] static char *darwin_device_class = kIOUSBDeviceClassName; ^ ~~~~~~~~~~~~~~~~~~~~~
This commit is contained in:
parent
140a4cbaa4
commit
1fe3db7919
@ -78,7 +78,7 @@ static CFRunLoopSourceRef libusb_darwin_acfls = NULL; /* shutdown signal for eve
|
||||
|
||||
static usbi_mutex_t darwin_cached_devices_lock = PTHREAD_MUTEX_INITIALIZER;
|
||||
static struct list_head darwin_cached_devices = {&darwin_cached_devices, &darwin_cached_devices};
|
||||
static char *darwin_device_class = kIOUSBDeviceClassName;
|
||||
static const char *darwin_device_class = kIOUSBDeviceClassName;
|
||||
|
||||
#define DARWIN_CACHED_DEVICE(a) ((struct darwin_cached_device *) (((struct darwin_device_priv *)((a)->os_priv))->dev))
|
||||
|
||||
|
@ -1 +1 @@
|
||||
#define LIBUSB_NANO 11214
|
||||
#define LIBUSB_NANO 11215
|
||||
|
Loading…
Reference in New Issue
Block a user