Small fix for Windows
authorMathis Rosenhauer <rosenhauer@dkrz.de>
Thu, 19 May 2016 07:52:48 +0000 (09:52 +0200)
committerMathis Rosenhauer <rosenhauer@dkrz.de>
Thu, 19 May 2016 07:53:57 +0000 (09:53 +0200)
CMakeLists.txt
src/decode.c

index b20b04e..b890d07 100644 (file)
@@ -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")
index f460986..aa75f04 100644 (file)
@@ -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)) {