From: shakeelrao Date: Fri, 29 Mar 2019 00:50:34 +0000 (-0700) Subject: fix srcSize typo and add new UTIL func to comment X-Git-Tag: v1.4.0^2~19^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F1561%2Fhead;p=thirdparty%2Fzstd.git fix srcSize typo and add new UTIL func to comment --- diff --git a/lib/zstd.h b/lib/zstd.h index c1c0fe744..ea2b9a5e4 100644 --- a/lib/zstd.h +++ b/lib/zstd.h @@ -1136,7 +1136,7 @@ ZSTDLIB_API unsigned long long ZSTD_findDecompressedSize(const void* src, size_t * note 3 : when the decompressed size field isn't available, the upper-bound for that frame is calculated by: * upper-bound = # blocks * min(128 KB, Window_Size) */ -ZSTDLIB_API unsigned long long ZSTD_decompressBound(const void* src, size_t srcSice); +ZSTDLIB_API unsigned long long ZSTD_decompressBound(const void* src, size_t srcSize); /*! ZSTD_frameHeaderSize() : * srcSize must be >= ZSTD_FRAMEHEADERSIZE_PREFIX. diff --git a/programs/fileio.c b/programs/fileio.c index cbd7b92bc..412ef4762 100644 --- a/programs/fileio.c +++ b/programs/fileio.c @@ -24,7 +24,7 @@ * Includes ***************************************/ #include "platform.h" /* Large Files support, SET_BINARY_MODE */ -#include "util.h" /* UTIL_getFileSize, UTIL_isRegularFile */ +#include "util.h" /* UTIL_getFileSize, UTIL_isRegularFile, UTIL_isSameFile */ #include /* fprintf, fopen, fread, _fileno, stdin, stdout */ #include /* malloc, free */ #include /* strcmp, strlen */