summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--examples/ezusb.c2
-rw-r--r--libusb/version_nano.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/examples/ezusb.c b/examples/ezusb.c
index 4451816..13404ee 100644
--- a/examples/ezusb.c
+++ b/examples/ezusb.c
@@ -248,7 +248,7 @@ static int parse_ihex(FILE *image, void *context,
/* Read the target offset (address up to 64KB) */
tmp = buf[7];
buf[7] = 0;
- off = strtoul(buf+3, NULL, 16);
+ off = (int)strtoul(buf+3, NULL, 16);
buf[7] = tmp;
/* Initialize data_addr */
diff --git a/libusb/version_nano.h b/libusb/version_nano.h
index b92e4fe..8fb6206 100644
--- a/libusb/version_nano.h
+++ b/libusb/version_nano.h
@@ -1 +1 @@
-#define LIBUSB_NANO 10606
+#define LIBUSB_NANO 10607