diff options
Diffstat (limited to 'apps/tagcache.c')
| -rw-r--r-- | apps/tagcache.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/tagcache.c b/apps/tagcache.c index db70cd5..f6a42d0 100644 --- a/apps/tagcache.c +++ b/apps/tagcache.c @@ -751,7 +751,7 @@ static bool tempbuf_insert(char *str, int id) /* Make sure the entry is long aligned. */ if ((long)index[tempbufidx].id & 0x03) { - int fix = 4 - ((long)id & 0x03); + int fix = 4 - ((long)index[tempbufidx].id & 0x03); tempbuf_left -= fix; tempbuf_pos += fix; index[tempbufidx].id = (struct tempbuf_id *)(( |