summaryrefslogtreecommitdiffstats
path: root/programs
diff options
context:
space:
mode:
authorYann Collet <yann.collet.73@gmail.com>2015-04-07 06:14:32 (GMT)
committerYann Collet <yann.collet.73@gmail.com>2015-04-07 06:14:32 (GMT)
commit43e053513bb2386b526daad5621e29a817663691 (patch)
tree4d7a96c0ce356cb9388231c28c1e55bcbab27182 /programs
parent61d74164254d49508df7fb2c213b5346d00f8ac2 (diff)
downloadlz4-43e053513bb2386b526daad5621e29a817663691.zip
lz4-43e053513bb2386b526daad5621e29a817663691.tar.gz
lz4-43e053513bb2386b526daad5621e29a817663691.tar.bz2
fix g++ typecast
Diffstat (limited to 'programs')
-rw-r--r--programs/fullbench.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/programs/fullbench.c b/programs/fullbench.c
index 7c970e0..2f246a2 100644
--- a/programs/fullbench.c
+++ b/programs/fullbench.c
@@ -391,7 +391,7 @@ static int local_LZ4_compress_fast(const char* in, char* out, int inSize)
return LZ4_compress_fast(in, out, inSize, LZ4_compressBound(inSize), 0);
}
-static void* stateLZ4;
+static LZ4_stream_t* stateLZ4;
static int local_LZ4_compress_withState(const char* in, char* out, int inSize)
{
return LZ4_compress_withState(stateLZ4, in, out, inSize);
@@ -429,7 +429,7 @@ static int local_LZ4_compress_forceDict(const char* in, char* out, int inSize)
}
-static void* stateLZ4HC;
+static LZ4_streamHC_t* stateLZ4HC;
static int local_LZ4_compressHC_withStateHC(const char* in, char* out, int inSize)
{
return LZ4_compressHC_withStateHC(stateLZ4HC, in, out, inSize);