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.tar.gz
rockbox-9cb40ea5e33c9e57c4e4b10c519aef046a90c561.zip
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 85d30f50fd..7bcfea22f0 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)
151 /* Two reserved bytes - do we need to read them? */ 151 /* Two reserved bytes - do we need to read them? */
152 lseek(fd, 2, SEEK_CUR); 152 lseek(fd, 2, SEEK_CUR);
153 153
154 DEBUGF("Read header - size=%d, subobjects=%lu\n",(int)header.size, subobjects); 154 DEBUGF("Read header - size=%d, subobjects=%d\n",(int)header.size, (int)subobjects);
155 155
156 if (subobjects > 0) { 156 if (subobjects > 0) {
157 header.datalen = header.size - 30; 157 header.datalen = header.size - 30;
@@ -328,13 +328,13 @@ static int asf_parse_header(int fd, struct mp3entry* id3)
328 328
329 case 3: /* 32-bit int */ 329 case 3: /* 32-bit int */
330 read_uint32le(fd, &tmp32); 330 read_uint32le(fd, &tmp32);
331 DEBUGF("Value=%lu\n",tmp32); 331 DEBUGF("Value=%u\n",(unsigned int)tmp32);
332 lseek(fd,length - 4,SEEK_CUR); 332 lseek(fd,length - 4,SEEK_CUR);
333 break; 333 break;
334 334
335 case 4: /* 64-bit int */ 335 case 4: /* 64-bit int */
336 read_uint64le(fd, &tmp64); 336 read_uint64le(fd, &tmp64);
337 DEBUGF("Value=%llu\n",tmp64); 337 DEBUGF("Value=[64-bit int]\n");
338 lseek(fd,length - 8,SEEK_CUR); 338 lseek(fd,length - 8,SEEK_CUR);
339 break; 339 break;
340 340