diff options
author | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2021-06-24 16:07:45 +0200 |
---|---|---|
committer | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2021-06-25 15:12:41 +0200 |
commit | 8348086b48af0cbabe4cf2b64992ced6561ea50c (patch) | |
tree | a77cb51107c1b67c9fc1e1c08d45ef1947a95e80 /lib/common/comp_lzo.c | |
parent | 0880db76afe85391430c547a67bad54b655a66e1 (diff) |
Remove casual un-const casting in various places
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'lib/common/comp_lzo.c')
-rw-r--r-- | lib/common/comp_lzo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/common/comp_lzo.c b/lib/common/comp_lzo.c index 3a7dce1..92a081c 100644 --- a/lib/common/comp_lzo.c +++ b/lib/common/comp_lzo.c @@ -207,7 +207,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); |