summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaurus Cuelenaere <mcuelenaere@gmail.com>2009-03-31 17:08:33 +0000
committerMaurus Cuelenaere <mcuelenaere@gmail.com>2009-03-31 17:08:33 +0000
commitd99913289b679ee2ebb54e366daae4956c0fee6a (patch)
treecd4a36ddc227efdc0b6873a77e034eb1f003e914
parent843498fecabd6222d1144507fabe35c0cacda590 (diff)
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.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: