summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--apps/tagcache.c6
-rw-r--r--apps/tagcache.h2
-rw-r--r--docs/CREDITS2
3 files changed, 5 insertions, 5 deletions
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;
166 166
167/* Variable-length tag entry in tag files. */ 167/* Variable-length tag entry in tag files. */
168struct tagfile_entry { 168struct tagfile_entry {
169 short tag_length; /* Length of the data in bytes including '\0' */ 169 int32_t tag_length; /* Length of the data in bytes including '\0' */
170 short idx_id; /* Corresponding entry location in index file of not unique tags */ 170 int32_t idx_id; /* Corresponding entry location in index file of not unique tags */
171 char tag_data[0]; /* Begin of the tag data */ 171 char tag_data[0]; /* Begin of the tag data */
172}; 172};
173 173
@@ -192,7 +192,7 @@ struct master_header {
192}; 192};
193 193
194/* For the endianess correction */ 194/* For the endianess correction */
195static const char *tagfile_entry_ec = "ss"; 195static const char *tagfile_entry_ec = "ll";
196/** 196/**
197 Note: This should be (1 + TAG_COUNT) amount of l's. 197 Note: This should be (1 + TAG_COUNT) amount of l's.
198 */ 198 */
diff --git a/apps/tagcache.h b/apps/tagcache.h
index c69e28fcaa..e995784742 100644
--- a/apps/tagcache.h
+++ b/apps/tagcache.h
@@ -49,7 +49,7 @@ enum tag_type { tag_artist = 0, tag_album, tag_genre, tag_title,
49#define IDX_BUF_DEPTH 64 49#define IDX_BUF_DEPTH 64
50 50
51/* Tag Cache Header version 'TCHxx'. Increment when changing internal structures. */ 51/* Tag Cache Header version 'TCHxx'. Increment when changing internal structures. */
52#define TAGCACHE_MAGIC 0x5443480c 52#define TAGCACHE_MAGIC 0x5443480d
53 53
54/* How much to allocate extra space for ramcache. */ 54/* How much to allocate extra space for ramcache. */
55#define TAGCACHE_RESERVE 32768 55#define TAGCACHE_RESERVE 32768
diff --git a/docs/CREDITS b/docs/CREDITS
index 4f7a7f5ec9..39d1a23571 100644
--- a/docs/CREDITS
+++ b/docs/CREDITS
@@ -452,7 +452,7 @@ Joshua Simmons
452Sei Aoyumi 452Sei Aoyumi
453Martin Pool 453Martin Pool
454Gareth Schakel 454Gareth Schakel
455 455Brian Sutherland
456 456
457The libmad team 457The libmad team
458The wavpack team 458The wavpack team