summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPrzemyslaw Skibinski <inikep@gmail.com>2016-11-07 13:14:42 (GMT)
committerPrzemyslaw Skibinski <inikep@gmail.com>2016-11-07 13:14:42 (GMT)
commitd61bb74f2044fed546de21f5b1e39737d79b8e48 (patch)
tree720e29077ee1c3f6de1166a46941f46aee019f67
parent7a98db266bce656ee64bd3cfedf796921c154f90 (diff)
downloadlz4-d61bb74f2044fed546de21f5b1e39737d79b8e48.zip
lz4-d61bb74f2044fed546de21f5b1e39737d79b8e48.tar.gz
lz4-d61bb74f2044fed546de21f5b1e39737d79b8e48.tar.bz2
updated declaration of LZ4F_freeDecompressionContext
-rw-r--r--appveyor.yml2
-rw-r--r--lib/lz4frame.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/appveyor.yml b/appveyor.yml
index 1e95ebb..85d8ea2 100644
--- a/appveyor.yml
+++ b/appveyor.yml
@@ -52,6 +52,7 @@ build_script:
make -C tests fullbench CC=clang MOREFLAGS="--target=x86_64-w64-mingw32 -Werror -Wconversion -Wno-sign-conversion"
)
)
+ - if [%COMPILER%]==[gcc] (COPY tests\fullbench.exe programs\)
- if [%COMPILER%]==[visual] (
ECHO *** &&
ECHO *** Building Visual Studio 2010 %PLATFORM%\%CONFIGURATION% &&
@@ -84,6 +85,5 @@ test_script:
lz4 -i1b10 lz4.exe &&
lz4 -i1b15 lz4.exe &&
echo lz4 tested &&
- CD ..\tests &&
fullbench.exe -i1 fullbench.exe
)
diff --git a/lib/lz4frame.h b/lib/lz4frame.h
index 6b6e320..43bc23c 100644
--- a/lib/lz4frame.h
+++ b/lib/lz4frame.h
@@ -274,7 +274,7 @@ typedef struct {
* That is, it should be == 0 if decompression has been completed fully and correctly.
*/
LZ4FLIB_API LZ4F_errorCode_t LZ4F_createDecompressionContext(LZ4F_dctx** dctxPtr, unsigned version);
-LZ4FLIB_API LZ4F_errorCode_t LZ4F_freeDecompressionContext(LZ4F_dctx* dctx);
+LZ4FLIB_API LZ4F_errorCode_t LZ4F_freeDecompressionContext(LZ4F_dctx* const dctx);
/*====== Decompression ======*/