diff options
author | Maurus Cuelenaere <mcuelenaere@gmail.com> | 2009-03-31 17:08:33 +0000 |
---|---|---|
committer | Maurus Cuelenaere <mcuelenaere@gmail.com> | 2009-03-31 17:08:33 +0000 |
commit | d99913289b679ee2ebb54e366daae4956c0fee6a (patch) | |
tree | cd4a36ddc227efdc0b6873a77e034eb1f003e914 | |
parent | 843498fecabd6222d1144507fabe35c0cacda590 (diff) | |
download | rockbox-d99913289b679ee2ebb54e366daae4956c0fee6a.tar.gz rockbox-d99913289b679ee2ebb54e366daae4956c0fee6a.zip |
Fix Jz4740 USB tools warnings
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20592 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r-- | utils/jz4740_tools/jz4740_usbtool.c | 4 |
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: |