summaryrefslogtreecommitdiffstats
path: root/lz4.c
diff options
context:
space:
mode:
authorYann Collet <yann.collet.73@gmail.com>2014-09-09 22:54:22 (GMT)
committerYann Collet <yann.collet.73@gmail.com>2014-09-09 22:54:22 (GMT)
commiteac83cd850d2f69a82ef9af344be9b7f3925681a (patch)
tree53597b544737bdb8345efa31487d31f1de544b4b /lz4.c
parent6b407c65a443e88c6cdd63dd738fbf94b9d6a886 (diff)
downloadlz4-eac83cd850d2f69a82ef9af344be9b7f3925681a.zip
lz4-eac83cd850d2f69a82ef9af344be9b7f3925681a.tar.gz
lz4-eac83cd850d2f69a82ef9af344be9b7f3925681a.tar.bz2
Added : streaming mode
Diffstat (limited to 'lz4.c')
-rw-r--r--lz4.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lz4.c b/lz4.c
index 435f1ea..ecb8a79 100644
--- a/lz4.c
+++ b/lz4.c
@@ -860,7 +860,7 @@ int LZ4_saveDict (LZ4_stream_t* LZ4_dict, char* safeBuffer, int dictSize)
dict->dictionary = (const BYTE*)safeBuffer;
dict->dictSize = (U32)dictSize;
- return 1;
+ return dictSize;
}