diff options
author | Blaise Sanouillet <43636048+blezsan@users.noreply.github.com> | 2018-09-28 17:00:38 (GMT) |
---|---|---|
committer | Blaise Sanouillet <43636048+blezsan@users.noreply.github.com> | 2018-09-28 17:00:38 (GMT) |
commit | 4d9435f1ee0d21072314fc34e37d990941ced7e3 (patch) | |
tree | c01440a08b0d2baa3eb42fc11e2846998ee696e2 | |
parent | 32501603c71fa61bc14ba38e5646c8ba16c27e6e (diff) | |
download | lz4-4d9435f1ee0d21072314fc34e37d990941ced7e3.zip lz4-4d9435f1ee0d21072314fc34e37d990941ced7e3.tar.gz lz4-4d9435f1ee0d21072314fc34e37d990941ced7e3.tar.bz2 |
support custom block sizes: fix const
-rw-r--r-- | tests/checkFrame.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/checkFrame.c b/tests/checkFrame.c index ace51c7..f32570c 100644 --- a/tests/checkFrame.c +++ b/tests/checkFrame.c @@ -101,9 +101,9 @@ void frameCheck(const char *srcFileName, unsigned bsid, size_t blockSize) { FILE *srcFile; LZ4F_decompressionContext_t dctx = NULL; - size_t srcBufferSize = 4 MB; + const size_t srcBufferSize = 4 MB; void *srcBuffer = malloc(srcBufferSize); - size_t dstBufferSize = 4 MB; + const size_t dstBufferSize = 4 MB; void *dstBuffer = malloc(dstBufferSize); LZ4F_errorCode_t nextToLoad = 0; size_t curblocksize = 0; |