diff options
author | Takayuki MATSUOKA <takayuki.matsuoka@gmail.com> | 2015-04-14 17:20:47 (GMT) |
---|---|---|
committer | Takayuki MATSUOKA <takayuki.matsuoka@gmail.com> | 2015-04-14 21:45:24 (GMT) |
commit | 081bcca33bba4f6ac3e913b3cf2bc2ba58b6b697 (patch) | |
tree | 2babff75a9522491e50d1f973bbf0cc0c2f0c125 /programs | |
parent | 985158304442c843208d446e12a3000dcc077e8a (diff) | |
download | lz4-081bcca33bba4f6ac3e913b3cf2bc2ba58b6b697.zip lz4-081bcca33bba4f6ac3e913b3cf2bc2ba58b6b697.tar.gz lz4-081bcca33bba4f6ac3e913b3cf2bc2ba58b6b697.tar.bz2 |
Issue#90 : Add LZ4F_ prefix
- Add LZ4F_ prefix to LZ4 frame related enums.
- Also add conditional macro LZ4F_DISABLE_OLD_ENUMS for testing and users who prefer strict prefixes.
Diffstat (limited to 'programs')
-rw-r--r-- | programs/lz4io.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/programs/lz4io.c b/programs/lz4io.c index db34747..6ca7ee7 100644 --- a/programs/lz4io.c +++ b/programs/lz4io.c @@ -465,9 +465,9 @@ static int LZ4IO_compressJob(cRess_t ress, const char* srcFileName, const char* /* Set compression parameters */ prefs.autoFlush = 1; prefs.compressionLevel = compressionLevel; - prefs.frameInfo.blockMode = (blockMode_t)g_blockIndependence; - prefs.frameInfo.blockSizeID = (blockSizeID_t)g_blockSizeId; - prefs.frameInfo.contentChecksumFlag = (contentChecksum_t)g_streamChecksum; + prefs.frameInfo.blockMode = (LZ4F_blockMode_t)g_blockIndependence; + prefs.frameInfo.blockSizeID = (LZ4F_blockSizeID_t)g_blockSizeId; + prefs.frameInfo.contentChecksumFlag = (LZ4F_contentChecksum_t)g_streamChecksum; if (g_contentSizeFlag) { unsigned long long fileSize = LZ4IO_GetFileSize(srcFileName); |