From 2b6e4adbd2cd2880e4d94d9519361617bfe8e755 Mon Sep 17 00:00:00 2001 From: Thomas Martitz Date: Fri, 6 Mar 2009 15:21:58 +0000 Subject: Fix FS#9977 - Thanks to Brian Sutherland for intensive testing and effort git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20214 a1c6a512-1295-4272-9138-f99709370657 --- apps/tagcache.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'apps/tagcache.c') diff --git a/apps/tagcache.c b/apps/tagcache.c index 8e14b9ff17..e7f3294dbf 100644 --- a/apps/tagcache.c +++ b/apps/tagcache.c @@ -166,8 +166,8 @@ static struct mutex command_queue_mutex; /* Variable-length tag entry in tag files. */ struct tagfile_entry { - short tag_length; /* Length of the data in bytes including '\0' */ - short idx_id; /* Corresponding entry location in index file of not unique tags */ + int32_t tag_length; /* Length of the data in bytes including '\0' */ + int32_t idx_id; /* Corresponding entry location in index file of not unique tags */ char tag_data[0]; /* Begin of the tag data */ }; @@ -192,7 +192,7 @@ struct master_header { }; /* For the endianess correction */ -static const char *tagfile_entry_ec = "ss"; +static const char *tagfile_entry_ec = "ll"; /** Note: This should be (1 + TAG_COUNT) amount of l's. */ -- cgit v1.2.3