darwin: Changed weirdo fixed-sized typedefs with the usual IOUSBLib.h ones
authorSean McBride <sean@rogue-research.com>
Fri, 29 Dec 2017 18:25:42 +0000 (13:25 -0500)
committerChris Dickens <christopher.a.dickens@gmail.com>
Mon, 8 Jan 2018 18:33:40 +0000 (10:33 -0800)
Signed-off-by: Chris Dickens <christopher.a.dickens@gmail.com>
libusb/os/darwin_usb.c
libusb/version_nano.h

index 8beeb12..bde5060 100644 (file)
@@ -1245,9 +1245,9 @@ static int get_endpoints (struct libusb_device_handle *dev_handle, int iface) {
 
   kern_return_t kresult;
 
-  u_int8_t numep, direction, number;
-  u_int8_t dont_care1, dont_care3;
-  u_int16_t dont_care2;
+  UInt8 numep, direction, number;
+  UInt8 dont_care1, dont_care3;
+  UInt16 dont_care2;
   int rc;
 
   usbi_dbg ("building table of endpoints.");
index 84f7c07..ebdea71 100644 (file)
@@ -1 +1 @@
-#define LIBUSB_NANO 11282
+#define LIBUSB_NANO 11283