diff options
author | Aaron Stone <aaron@serendipity.cx> | 2013-12-17 12:48:10 -0800 |
---|---|---|
committer | Aaron Stone <aaron@serendipity.cx> | 2013-12-17 13:23:50 -0800 |
commit | e8fc0bd1c7af9d7018df37876806c8ee5afc7c3c (patch) | |
tree | b48389ffef1ef635d8e66cbe04538ddd61b5281e | |
parent | 4f0568d030fb5d8bcf90ff76c2b01360cc99ce07 (diff) | |
download | micronucleus-e8fc0bd1c7af9d7018df37876806c8ee5afc7c3c.tar.gz micronucleus-e8fc0bd1c7af9d7018df37876806c8ee5afc7c3c.tar.bz2 micronucleus-e8fc0bd1c7af9d7018df37876806c8ee5afc7c3c.zip |
commandline: silence a warning since this is used correctly
-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 47a3952..8774e25 100644 --- a/commandline/library/micronucleus_lib.c +++ b/commandline/library/micronucleus_lib.c @@ -60,7 +60,7 @@ micronucleus* micronucleus_connect() { // get nucleus info unsigned char buffer[4]; - int res = usb_control_msg(nucleus->device, 0xC0, 0, 0, 0, buffer, 4, MICRONUCLEUS_USB_TIMEOUT); + int res = usb_control_msg(nucleus->device, 0xC0, 0, 0, 0, (char *)buffer, 4, MICRONUCLEUS_USB_TIMEOUT); assert(res >= 4); nucleus->flash_size = (buffer[0]<<8) + buffer[1]; |