summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--utils/jz4740_tools/jz4740_usbtool.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/jz4740_tools/jz4740_usbtool.c b/utils/jz4740_tools/jz4740_usbtool.c
index 904d64790f..049d6bb118 100644
--- a/utils/jz4740_tools/jz4740_usbtool.c
+++ b/utils/jz4740_tools/jz4740_usbtool.c
@@ -738,7 +738,7 @@ found:
err = rom_dump(dh);
break;
case 10:
- err = send_rockbox(dh, buf);
+ err = send_rockbox(dh, (char*)buf);
break;
}
@@ -890,7 +890,7 @@ int main(int argc, char* argv[])
print_usage();
return 1;
}
- return jzconnect(address, argv[2], 0, 10);
+ return jzconnect(address, (unsigned char*)argv[2], 0, 10);
case 3:
case 6:
case 7: