summaryrefslogtreecommitdiff
path: root/apps/tagcache.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/tagcache.c')
-rw-r--r--apps/tagcache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/tagcache.c b/apps/tagcache.c
index db70cd5b34..f6a42d0088 100644
--- a/apps/tagcache.c
+++ b/apps/tagcache.c
@@ -751,7 +751,7 @@ static bool tempbuf_insert(char *str, int id)
751 /* Make sure the entry is long aligned. */ 751 /* Make sure the entry is long aligned. */
752 if ((long)index[tempbufidx].id & 0x03) 752 if ((long)index[tempbufidx].id & 0x03)
753 { 753 {
754 int fix = 4 - ((long)id & 0x03); 754 int fix = 4 - ((long)index[tempbufidx].id & 0x03);
755 tempbuf_left -= fix; 755 tempbuf_left -= fix;
756 tempbuf_pos += fix; 756 tempbuf_pos += fix;
757 index[tempbufidx].id = (struct tempbuf_id *)(( 757 index[tempbufidx].id = (struct tempbuf_id *)((