summaryrefslogtreecommitdiffstats
path: root/programs/bench.c
diff options
context:
space:
mode:
authorYann Collet <yann.collet.73@gmail.com>2015-05-03 16:57:46 (GMT)
committerYann Collet <yann.collet.73@gmail.com>2015-05-03 16:57:46 (GMT)
commit1b17bf2ab8cf66dd2b740eca376e2d46f7ad7041 (patch)
tree1c33e13791840920044e903a7fcc4e62c1593ecc /programs/bench.c
parentb495c916e5f8a8e650ccea8e86fb37f9422b44a8 (diff)
downloadlz4-1b17bf2ab8cf66dd2b740eca376e2d46f7ad7041.zip
lz4-1b17bf2ab8cf66dd2b740eca376e2d46f7ad7041.tar.gz
lz4-1b17bf2ab8cf66dd2b740eca376e2d46f7ad7041.tar.bz2
New lz4 API, using LZ4_compress_fast()
Diffstat (limited to 'programs/bench.c')
-rw-r--r--programs/bench.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/programs/bench.c b/programs/bench.c
index 384a425..3a93cf9 100644
--- a/programs/bench.c
+++ b/programs/bench.c
@@ -58,7 +58,7 @@
#include "lz4.h"
#define COMPRESSOR0 LZ4_compress_local
-static int LZ4_compress_local(const char* src, char* dst, int srcSize, int dstSize, int clevel) { (void)clevel; return LZ4_compress_safe(src, dst, srcSize, dstSize); }
+static int LZ4_compress_local(const char* src, char* dst, int srcSize, int dstSize, int clevel) { (void)clevel; return LZ4_compress_default(src, dst, srcSize, dstSize); }
#include "lz4hc.h"
#define COMPRESSOR1 LZ4_compressHC_safe
#define DEFAULTCOMPRESSOR COMPRESSOR0