diff options
author | cpldcpu <cpldcpu@gmail.com> | 2014-01-14 06:33:50 +0100 |
---|---|---|
committer | cpldcpu <cpldcpu@gmail.com> | 2014-01-14 06:33:50 +0100 |
commit | e4596e39c7ba51d83f18e8687388e733efb3aa7f (patch) | |
tree | 9e42a643641f62de0371afab194e2f7bc8ff6e5a /commandline/library/micronucleus_lib.c | |
parent | 174cbc20726dcf79b88c7c1882af89802b2a789a (diff) | |
download | micronucleus-e4596e39c7ba51d83f18e8687388e733efb3aa7f.tar.gz micronucleus-e4596e39c7ba51d83f18e8687388e733efb3aa7f.tar.bz2 micronucleus-e4596e39c7ba51d83f18e8687388e733efb3aa7f.zip |
commandline: Add cast to prevent warning
Diffstat (limited to 'commandline/library/micronucleus_lib.c')
-rw-r--r-- | commandline/library/micronucleus_lib.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |