aboutsummaryrefslogtreecommitdiff
path: root/ports/zstd/fix_assert.patch
diff options
context:
space:
mode:
Diffstat (limited to 'ports/zstd/fix_assert.patch')
-rw-r--r--ports/zstd/fix_assert.patch13
1 files changed, 0 insertions, 13 deletions
diff --git a/ports/zstd/fix_assert.patch b/ports/zstd/fix_assert.patch
deleted file mode 100644
index b7fa3dc8d..000000000
--- a/ports/zstd/fix_assert.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-diff --git a/lib/decompress/zstd_decompress.c b/lib/decompress/zstd_decompress.c
-index be5c7cfc3..539190998 100644
---- a/lib/decompress/zstd_decompress.c
-+++ b/lib/decompress/zstd_decompress.c
-@@ -721,7 +721,7 @@ static size_t ZSTD_decompressMultiFrame(ZSTD_DCtx* dctx,
- decodedSize = ZSTD_decompressLegacy(dst, dstCapacity, src, frameSize, dict, dictSize);
- if (ZSTD_isError(decodedSize)) return decodedSize;
-
-- assert(decodedSize <=- dstCapacity);
-+ assert(decodedSize <= dstCapacity);
- dst = (BYTE*)dst + decodedSize;
- dstCapacity -= decodedSize;
-