Merge branch 'master' into dependabot/github_actions/step-security/harden-runner-2.19.4
diff --git a/.github/dependabot.yml b/.github/dependabot.yml
index d5e7fb7..4e5d64d 100644
--- a/.github/dependabot.yml
+++ b/.github/dependabot.yml
@@ -9,3 +9,8 @@
directory: "/"
schedule:
interval: "weekly"
+ # Combine updates into single PR
+ groups:
+ everything:
+ patterns:
+ - "*" # Everything
diff --git a/c/dec/decode.c b/c/dec/decode.c
index 446365a..8d57c2b 100644
--- a/c/dec/decode.c
+++ b/c/dec/decode.c
@@ -1597,7 +1597,7 @@
/* Update the recent distances cache. */
s->dist_rb[s->dist_rb_idx & 3] = s->distance_code;
++s->dist_rb_idx;
- s->meta_block_remaining_len -= length;
+ s->meta_block_remaining_len -= (int)length;
addon->br_index = (uint16_t)index;
addon->br_offset = address - addon->chunk_offsets[index];
addon->br_length = length;
@@ -1624,7 +1624,7 @@
if (length > rem_chunk_length) length = rem_chunk_length;
if (length > (uint32_t)space) length = (uint32_t)space;
memcpy(copy_dst, copy_src, (size_t)length);
- pos += length;
+ pos += (int)length;
addon->br_offset += length;
addon->br_copied += length;
if (length == rem_chunk_length) {