From 515c506b4c7dabb83ea8e4b2edfa709cdf647279 Mon Sep 17 00:00:00 2001 From: shakeelrao Date: Thu, 28 Feb 2019 02:10:17 -0800 Subject: [PATCH] switch frameBound type to ULL --- lib/decompress/zstd_decompress.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/decompress/zstd_decompress.c b/lib/decompress/zstd_decompress.c index 6d56b08c..d2916d7e 100644 --- a/lib/decompress/zstd_decompress.c +++ b/lib/decompress/zstd_decompress.c @@ -529,7 +529,7 @@ unsigned long long ZSTD_decompressBound(const void* src, size_t srcSize) } { size_t bound; - size_t frameBound; + unsigned long long frameBound; size_t frameSrcSize; unsigned long long const ret = ZSTD_getFrameContentSize(src, srcSize); if (ret == ZSTD_CONTENTSIZE_ERROR) return ret;