summaryrefslogtreecommitdiffstats
path: root/commandline/library/micronucleus_lib.c
diff options
context:
space:
mode:
Diffstat (limited to 'commandline/library/micronucleus_lib.c')
-rw-r--r--commandline/library/micronucleus_lib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/commandline/library/micronucleus_lib.c b/commandline/library/micronucleus_lib.c
index dd10d25..76594d8 100644
--- a/commandline/library/micronucleus_lib.c
+++ b/commandline/library/micronucleus_lib.c
@@ -207,7 +207,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;