From f41497f98e0a16047becfcd4f3c88a0684d23205 Mon Sep 17 00:00:00 2001 From: Nils Wallménius Date: Sun, 6 May 2007 15:09:41 +0000 Subject: Fix metadata reading for 64 bit sims. Closes FS#6690 git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13335 a1c6a512-1295-4272-9138-f99709370657 --- apps/metadata.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'apps/metadata.c') diff --git a/apps/metadata.c b/apps/metadata.c index 70e7c0542e..54bb40413e 100644 --- a/apps/metadata.c +++ b/apps/metadata.c @@ -383,8 +383,8 @@ static bool read_vorbis_tags(int fd, struct mp3entry *id3, long tag_remaining) { char *buf = id3->id3v2buf; - long comment_count; - long len; + int32_t comment_count; + int32_t len; int buf_remaining = sizeof(id3->id3v2buf) + sizeof(id3->id3v1buf); int i; @@ -411,7 +411,7 @@ static bool read_vorbis_tags(int fd, struct mp3entry *id3, { char name[TAG_NAME_LENGTH]; char value[TAG_VALUE_LENGTH]; - long read_len; + int32_t read_len; if (tag_remaining < 4) { -- cgit v1.2.3