diff options
author | Sean McBride <sean@rogue-research.com> | 2011-09-19 12:52:44 -0400 |
---|---|---|
committer | Peter Stuge <peter@stuge.se> | 2011-09-22 11:26:18 +0200 |
commit | 0a7902b7378feeb9c5a07a8b71b8416cbdf3f83e (patch) | |
tree | 14c9a5791069c975bf6fa71a3d0504af2e979995 | |
parent | 9dbcad4a188e4de3b85f2ab6444d35149b6c58c2 (diff) | |
download | libusb-0a7902b7378feeb9c5a07a8b71b8416cbdf3f83e.tar.gz |
descriptor.c: Use size_t for minor 64 bit compliance improvement
Fixes #121.
-rw-r--r-- | libusb/descriptor.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libusb/descriptor.c b/libusb/descriptor.c index d6ec46c..e358e9e 100644 --- a/libusb/descriptor.c +++ b/libusb/descriptor.c @@ -188,7 +188,7 @@ static int parse_interface(libusb_context *ctx, int len; int r; int parsed = 0; - int tmp; + size_t tmp; struct usb_descriptor_header header; struct libusb_interface_descriptor *ifp; unsigned char *begin; @@ -336,7 +336,7 @@ static int parse_configuration(struct libusb_context *ctx, int i; int r; int size; - int tmp; + size_t tmp; struct usb_descriptor_header header; struct libusb_interface *usb_interface; |