aboutsummaryrefslogtreecommitdiff
path: root/lib/common/comp_lzo.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/common/comp_lzo.c')
-rw-r--r--lib/common/comp_lzo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/common/comp_lzo.c b/lib/common/comp_lzo.c
index b6496b2..e327d06 100644
--- a/lib/common/comp_lzo.c
+++ b/lib/common/comp_lzo.c
@@ -206,7 +206,7 @@ static void lzo_get_configuration(const sqfs_compressor_t *base,
static sqfs_object_t *lzo_create_copy(const sqfs_object_t *cmp)
{
- lzo_compressor_t *other = (lzo_compressor_t *)cmp;
+ const lzo_compressor_t *other = (const lzo_compressor_t *)cmp;
lzo_compressor_t *lzo;
lzo = calloc(1, sizeof(*lzo) + other->buf_size);