summaryrefslogtreecommitdiffstats
path: root/streaming/compression.c
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2023-02-06 16:11:34 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2023-02-06 16:11:34 +0000
commitd079b656b4719739b2247dcd9d46e9bec793095a (patch)
treed2c950c70a776bcf697c963151c5bd959f8a9f03 /streaming/compression.c
parentReleasing debian version 1.37.1-2. (diff)
downloadnetdata-d079b656b4719739b2247dcd9d46e9bec793095a.tar.xz
netdata-d079b656b4719739b2247dcd9d46e9bec793095a.zip
Merging upstream version 1.38.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'streaming/compression.c')
-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;