summaryrefslogtreecommitdiff
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:
738 err = rom_dump(dh); 738 err = rom_dump(dh);
739 break; 739 break;
740 case 10: 740 case 10:
741 err = send_rockbox(dh, buf); 741 err = send_rockbox(dh, (char*)buf);
742 break; 742 break;
743 } 743 }
744 744
@@ -890,7 +890,7 @@ int main(int argc, char* argv[])
890 print_usage(); 890 print_usage();
891 return 1; 891 return 1;
892 } 892 }
893 return jzconnect(address, argv[2], 0, 10); 893 return jzconnect(address, (unsigned char*)argv[2], 0, 10);
894 case 3: 894 case 3:
895 case 6: 895 case 6:
896 case 7: 896 case 7: