summaryrefslogtreecommitdiff
path: root/libusb/version_nano.h
diff options
context:
space:
mode:
authorPete Batard <pete@akeo.ie>2012-06-13 13:38:46 +0100
committerPete Batard <pete@akeo.ie>2012-06-13 20:52:39 +0100
commit67df11b691b7cdade54cbc265f9d975d46dcc10c (patch)
treea5d8c74a483cbbb8630b9aaa3644b89eddc5cf1e /libusb/version_nano.h
parent21ce67310216dd1173a582b584399bf6096965ea (diff)
downloadlibusbx-67df11b691b7cdade54cbc265f9d975d46dcc10c.tar.gz
Windows: Fix erroneous pointer array allocation reported by Clang
* Result of 'calloc' is converted to a pointer of type 'unsigned char *', which is incompatible with sizeof operand type 'PUSB_CONFIGURATION_DESCRIPTOR' * priv->config_descriptor is indeed an array of pointers, with each descriptor allocated, rather than a sequential list of fixed descriptor.
Diffstat (limited to 'libusb/version_nano.h')
-rw-r--r--libusb/version_nano.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libusb/version_nano.h b/libusb/version_nano.h
index 32a4fe1..c47019a 100644
--- a/libusb/version_nano.h
+++ b/libusb/version_nano.h
@@ -1 +1 @@
-#define LIBUSB_NANO 10529
+#define LIBUSB_NANO 10530