summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xcommandline/builds/Windows/micronucleus.exebin26126 -> 26126 bytes
-rw-r--r--commandline/library/micronucleus_lib.c2
2 files changed, 1 insertions, 1 deletions
diff --git a/commandline/builds/Windows/micronucleus.exe b/commandline/builds/Windows/micronucleus.exe
index 7baaf03..bfdb56b 100755
--- a/commandline/builds/Windows/micronucleus.exe
+++ b/commandline/builds/Windows/micronucleus.exe
Binary files differ
diff --git a/commandline/library/micronucleus_lib.c b/commandline/library/micronucleus_lib.c
index ddcefdd..6e574f5 100644
--- a/commandline/library/micronucleus_lib.c
+++ b/commandline/library/micronucleus_lib.c
@@ -152,7 +152,7 @@ int micronucleus_writeFlash(micronucleus* deviceHandle, unsigned int program_siz
USB_ENDPOINT_OUT| USB_TYPE_VENDOR | USB_RECIP_DEVICE,
1,
page_length, address,
- page_buffer, page_length,
+ (char*)page_buffer, page_length,
MICRONUCLEUS_USB_TIMEOUT);
if (res != page_length) return -1;