summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathan Hjelm <hjelmn@me.com>2016-03-05 08:00:11 -0700
committerNathan Hjelm <hjelmn@me.com>2016-03-05 08:02:58 -0700
commita499ef20a1e49050c93181d64ba84278aef8bb99 (patch)
treef44e327d3d68a501ce4cfaf6a39db69c4469f2bb
parent1fd08a1513dc323ddf7fae97888eb09215a1f0b6 (diff)
downloadlibusb-a499ef20a1e49050c93181d64ba84278aef8bb99.tar.gz
xusb: fix typo
Signed-off-by: Nathan Hjelm <hjelmn@me.com>
-rw-r--r--examples/xusb.c2
-rw-r--r--libusb/version_nano.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/examples/xusb.c b/examples/xusb.c
index 8f4fd53..352a5d7 100644
--- a/examples/xusb.c
+++ b/examples/xusb.c
@@ -30,7 +30,7 @@
#define msleep(msecs) Sleep(msecs)
#else
#include <time.h>
-#define msleep(msecs) nanosleep(&(struct timespec){delay / 1000, (delay * 1000000) % 1000000000UL}, NULL);
+#define msleep(msecs) nanosleep(&(struct timespec){msecs / 1000, (msecs * 1000000) % 1000000000UL}, NULL);
#endif
#if defined(_MSC_VER)
diff --git a/libusb/version_nano.h b/libusb/version_nano.h
index 701fca2..5709b65 100644
--- a/libusb/version_nano.h
+++ b/libusb/version_nano.h
@@ -1 +1 @@
-#define LIBUSB_NANO 11092
+#define LIBUSB_NANO 11091