summaryrefslogtreecommitdiffstats
path: root/streaming/compression.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--streaming/compression.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/streaming/compression.c b/streaming/compression.c
index 7ba9dbf19..8f2517a8e 100644
--- a/streaming/compression.c
+++ b/streaming/compression.c
@@ -244,7 +244,7 @@ static size_t lz4_decompressor_decompress(struct decompressor_state *state, cons
, state->stream->size
, state->stream->write_at
, decompressed_size
- , state->stream->write_at + decompressed_size - state->stream->size
+ , (size_t)(state->stream->write_at + decompressed_size - state->stream->size)
);
state->stream->write_at += decompressed_size;