projects
/
platform
/
upstream
/
libusb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ad8ae04
)
Darwin: 64-bit type fixes
author
Toby Peterson
<toby@macports.org>
Sun, 23 Aug 2009 04:19:59 +0000
(10:04 +0545)
committer
Daniel Drake
<dsd@gentoo.org>
Sun, 23 Aug 2009 04:19:59 +0000
(10:04 +0545)
libusb/os/darwin_usb.c
patch
|
blob
|
history
diff --git
a/libusb/os/darwin_usb.c
b/libusb/os/darwin_usb.c
index
8c1afec
..
2ced118
100644
(file)
--- a/
libusb/os/darwin_usb.c
+++ b/
libusb/os/darwin_usb.c
@@
-150,7
+150,8
@@
static usb_device_t **usb_get_next_device (io_iterator_t deviceIterator, UInt32
io_cf_plugin_ref_t *plugInInterface = NULL;
usb_device_t **device;
io_service_t usbDevice;
- long result, score;
+ long result;
+ SInt32 score;
if (!IOIteratorIsValid (deviceIterator) || !(usbDevice = IOIteratorNext(deviceIterator)))
return NULL;
@@
-770,7
+771,7
@@
static int darwin_claim_interface(struct libusb_device_handle *dev_handle, int i
io_service_t usbInterface = IO_OBJECT_NULL;
IOReturn kresult;
IOCFPlugInInterface **plugInInterface = NULL;
-
long
score;
+
SInt32
score;
uint8_t new_config;
/* current interface */