summaryrefslogtreecommitdiff
path: root/apps/tagcache.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/tagcache.c')
-rw-r--r--apps/tagcache.c6
1 files changed, 3 insertions, 3 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 */