diff options
author | Ludovic Rousseau <ludovic.rousseau@gmail.com> | 2012-05-08 20:34:12 +0200 |
---|---|---|
committer | Pete Batard <pete@akeo.ie> | 2012-05-08 22:58:11 +0100 |
commit | c5c6b0e69a13786e48b2b6254c8e5458dc6716cc (patch) | |
tree | def0ffdeef5fb4acf59504fea64b1c98364953fb /libusb | |
parent | 30ccbd773bc02d5dfd21e02bfba6d58234f59393 (diff) | |
download | libusb-c5c6b0e69a13786e48b2b6254c8e5458dc6716cc.tar.gz |
Darwin: Sync type of num_iso_packets fields
* num_iso_packets was a "size_t" in "struct darwin_transfer_priv" and an
"int" in "struct libusb_transfer". The field is now an int in the two
structures
* Fixes warning
os/darwin_usb.c: In function ‘submit_iso_transfer’:
os/darwin_usb.c:1334: warning: comparison between signed and unsigned
Diffstat (limited to 'libusb')
-rw-r--r-- | libusb/os/darwin_usb.h | 2 | ||||
-rw-r--r-- | libusb/version.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/libusb/os/darwin_usb.h b/libusb/os/darwin_usb.h index 8899297..1746989 100644 --- a/libusb/os/darwin_usb.h +++ b/libusb/os/darwin_usb.h @@ -147,7 +147,7 @@ struct darwin_device_handle_priv { struct darwin_transfer_priv { /* Isoc */ IOUSBIsocFrame *isoc_framelist; - size_t num_iso_packets; + int num_iso_packets; /* Control */ #if !defined (LIBUSB_NO_TIMEOUT_DEVICE) diff --git a/libusb/version.h b/libusb/version.h index 01ad7fc..e59dfcb 100644 --- a/libusb/version.h +++ b/libusb/version.h @@ -9,7 +9,7 @@ #define LIBUSB_MICRO 11 #endif #ifndef LIBUSB_NANO -#define LIBUSB_NANO 10497 +#define LIBUSB_NANO 10498 #endif /* LIBUSB_RC is the release candidate suffix. Should normally be empty. */ #ifndef LIBUSB_RC |