os/darwin_usb.c:248:18: warning: comparison of integers of different signs:
'CFIndex' (aka 'long') and 'size_t' (aka 'unsigned long')
[-Wsign-compare]
if (length < size) {
~~~~~~ ^ ~~~~
Signed-off-by: Ludovic Rousseau <ludovic.rousseau@free.fr>
return ret;
}
-static int get_ioregistry_value_data (io_service_t service, CFStringRef property, size_t size, void *p) {
+static int get_ioregistry_value_data (io_service_t service, CFStringRef property, ssize_t size, void *p) {
CFTypeRef cfData = IORegistryEntryCreateCFProperty (service, property, kCFAllocatorDefault, 0);
int ret = 0;
-#define LIBUSB_NANO 11083
+#define LIBUSB_NANO 11084