summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMathis Rosenhauer <rosenhauer@dkrz.de>2016-05-19 09:52:48 +0200
committerMathis Rosenhauer <rosenhauer@dkrz.de>2016-05-19 09:53:57 +0200
commitef4d954bd459d5101c2b40955c9ee7dbc0b85ca5 (patch)
treef6ce3672452cec4284c10d39a9018a48b435e266
parent2aa8f9c7dfffc0e9eb1946f3d4c3fd4fba687c11 (diff)
downloadlibaec-ef4d954bd459d5101c2b40955c9ee7dbc0b85ca5.tar.gz
libaec-ef4d954bd459d5101c2b40955c9ee7dbc0b85ca5.tar.bz2
libaec-ef4d954bd459d5101c2b40955c9ee7dbc0b85ca5.zip
Small fix for Windows
-rw-r--r--CMakeLists.txt2
-rw-r--r--src/decode.c3
2 files changed, 3 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index b20b04e..b890d07 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -51,7 +51,7 @@ SET(CPACK_PACKAGE_DESCRIPTION_SUMMARY
"libaec - Adaptive Entropy Coding library")
SET(CPACK_PACKAGE_VERSION_MAJOR "0")
SET(CPACK_PACKAGE_VERSION_MINOR "3")
-SET(CPACK_PACKAGE_VERSION_PATCH "2")
+SET(CPACK_PACKAGE_VERSION_PATCH "3")
SET(CPACK_PACKAGE_INSTALL_DIRECTORY "libaec")
SET(CPACK_RESOURCE_FILE_LICENSE "${PROJECT_SOURCE_DIR}/COPYING")
SET(CPACK_RESOURCE_FILE_README "${PROJECT_SOURCE_DIR}/README")
diff --git a/src/decode.c b/src/decode.c
index f460986..aa75f04 100644
--- a/src/decode.c
+++ b/src/decode.c
@@ -458,7 +458,8 @@ static int m_split_fs(struct aec_stream *strm)
static int m_split(struct aec_stream *strm)
{
- size_t i, k;
+ size_t i;
+ int k;
struct internal_state *state = strm->state;
if (BUFFERSPACE(strm)) {