summaryrefslogtreecommitdiff
path: root/apps/metadata/asf.c
diff options
context:
space:
mode:
authorDave Chapman <dave@dchapman.com>2007-07-03 10:21:23 +0000
committerDave Chapman <dave@dchapman.com>2007-07-03 10:21:23 +0000
commit9cb40ea5e33c9e57c4e4b10c519aef046a90c561 (patch)
tree6d6d8bbabac6c8c0c90d7fa9317ad6b68b8baa2d /apps/metadata/asf.c
parentfe163c51786fe9d0a0bdf8d38ad32bcfc3a518ab (diff)
downloadrockbox-9cb40ea5e33c9e57c4e4b10c519aef046a90c561.zip
rockbox-9cb40ea5e33c9e57c4e4b10c519aef046a90c561.tar.gz
rockbox-9cb40ea5e33c9e57c4e4b10c519aef046a90c561.tar.bz2
rockbox-9cb40ea5e33c9e57c4e4b10c519aef046a90c561.tar.xz
WMA clean-up commit - fix 64-bit sim warnings, set svn keywords property, and add new files to apps/FILES
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13771 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/metadata/asf.c')
-rw-r--r--apps/metadata/asf.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/metadata/asf.c b/apps/metadata/asf.c
index 85d30f5..7bcfea2 100644
--- a/apps/metadata/asf.c
+++ b/apps/metadata/asf.c
@@ -151,7 +151,7 @@ static int asf_parse_header(int fd, struct mp3entry* id3)
/* Two reserved bytes - do we need to read them? */
lseek(fd, 2, SEEK_CUR);
- DEBUGF("Read header - size=%d, subobjects=%lu\n",(int)header.size, subobjects);
+ DEBUGF("Read header - size=%d, subobjects=%d\n",(int)header.size, (int)subobjects);
if (subobjects > 0) {
header.datalen = header.size - 30;
@@ -328,13 +328,13 @@ static int asf_parse_header(int fd, struct mp3entry* id3)
case 3: /* 32-bit int */
read_uint32le(fd, &tmp32);
- DEBUGF("Value=%lu\n",tmp32);
+ DEBUGF("Value=%u\n",(unsigned int)tmp32);
lseek(fd,length - 4,SEEK_CUR);
break;
case 4: /* 64-bit int */
read_uint64le(fd, &tmp64);
- DEBUGF("Value=%llu\n",tmp64);
+ DEBUGF("Value=[64-bit int]\n");
lseek(fd,length - 8,SEEK_CUR);
break;