aboutsummaryrefslogtreecommitdiffstats
path: root/libusb/version.h
diff options
context:
space:
mode:
authorLudovic Rousseau <ludovic.rousseau@gmail.com>2012-05-08 15:53:56 +0200
committerPete Batard <pete@akeo.ie>2012-05-08 17:35:45 +0100
commit30ccbd773bc02d5dfd21e02bfba6d58234f59393 (patch)
treeda04427f4651f3206e11c928e0c11ccfba8ac23d /libusb/version.h
parent6d47fa1bc52562f673c30e5fd36f8ae44ed102e8 (diff)
downloadandroid_external_libusbx-30ccbd773bc02d5dfd21e02bfba6d58234f59393.tar.gz
android_external_libusbx-30ccbd773bc02d5dfd21e02bfba6d58234f59393.tar.bz2
android_external_libusbx-30ccbd773bc02d5dfd21e02bfba6d58234f59393.zip
Core: Handle TRANSFER_ERROR/TRANSFER_CANCELLED for sync transfers
* Return the more appropriate LIBUSB_ERROR_IO instead of LIBUSB_ERROR_OTHER for the cases LIBUSB_TRANSFER_ERROR and LIBUSB_TRANSFER_CANCELLED * Fixes warnings similar to the following when using the GCC option -Wswitch-enum: warning: enumeration value ‘LIBUSB_TRANSFER_ERROR’ not handled in switch
Diffstat (limited to 'libusb/version.h')
-rw-r--r--libusb/version.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libusb/version.h b/libusb/version.h
index dfc15f1..01ad7fc 100644
--- a/libusb/version.h
+++ b/libusb/version.h
@@ -9,7 +9,7 @@
#define LIBUSB_MICRO 11
#endif
#ifndef LIBUSB_NANO
-#define LIBUSB_NANO 10496
+#define LIBUSB_NANO 10497
#endif
/* LIBUSB_RC is the release candidate suffix. Should normally be empty. */
#ifndef LIBUSB_RC