From dca73db30c999ddce7d734d6f4f603b36c92ce51 Mon Sep 17 00:00:00 2001 From: shakeelrao Date: Thu, 28 Mar 2019 17:50:34 -0700 Subject: [PATCH] fix srcSize typo and add new UTIL func to comment --- lib/zstd.h | 2 +- programs/fileio.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 */ -- 2.47.2