summaryrefslogtreecommitdiffstats
path: root/tools/iaudio.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2005-11-21 16:08:36 +0000
committerDaniel Stenberg <daniel@haxx.se>2005-11-21 16:08:36 +0000
commitb61d62b22573c36871515d5d600bd4988f67fe12 (patch)
tree40af0e495a19a7970d73537ef28fd1c4619dc687 /tools/iaudio.c
parent0906aa71838d918a31232ae8f121b5fa947211f2 (diff)
downloadrockbox-b61d62b22573c36871515d5d600bd4988f67fe12.tar.gz
rockbox-b61d62b22573c36871515d5d600bd4988f67fe12.tar.bz2
rockbox-b61d62b22573c36871515d5d600bd4988f67fe12.zip
fixed gcc4 warnings
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8028 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'tools/iaudio.c')
-rw-r--r--tools/iaudio.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/iaudio.c b/tools/iaudio.c
index 715b3b6d23..41d718f69b 100644
--- a/tools/iaudio.c
+++ b/tools/iaudio.c
@@ -41,8 +41,8 @@ int main (int argc, char* argv[]) {
char checksum = '\0';
unsigned long length, i;
unsigned char* inbuf;
- unsigned char* iname = argv[1];
- unsigned char* oname = argv[2];
+ char* iname = argv[1];
+ char* oname = argv[2];
FILE* pFile;
if (argc < 2) {
@@ -50,7 +50,7 @@ int main (int argc, char* argv[]) {
}
/* open file */
- pFile = fopen(iname,"rb");
+ pFile = fopen(iname, "rb");
if (!pFile) {
perror(oname);
return -1;