summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authortest4973 <Kdo4973@hotmail.com>2018-04-10 03:38:00 (GMT)
committertest4973 <Kdo4973@hotmail.com>2018-04-10 03:38:00 (GMT)
commitad7e040384d1835c097b0f727aeaa3d598a401b6 (patch)
treecfeb4ab3ecc1d8a117fff7e34196394c53b86d2e /tests
parentcf2f06a6c5046ef7d576bc8ad210c3f2efe1f401 (diff)
downloadlz4-ad7e040384d1835c097b0f727aeaa3d598a401b6.zip
lz4-ad7e040384d1835c097b0f727aeaa3d598a401b6.tar.gz
lz4-ad7e040384d1835c097b0f727aeaa3d598a401b6.tar.bz2
fix minor conversion warning
cast from void not implicit for C++
Diffstat (limited to 'tests')
-rw-r--r--tests/fuzzer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/fuzzer.c b/tests/fuzzer.c
index 8ffdb22..2e3ee92 100644
--- a/tests/fuzzer.c
+++ b/tests/fuzzer.c
@@ -367,7 +367,7 @@ static int FUZ_test(U32 seed, U32 nbCycles, const U32 startCycle, const double c
if ( ((FUZ_rand(&randState) & 63) == 2)
&& ((size_t)blockSize < labSize) ) {
memcpy(lowAddrBuffer, block, blockSize);
- block = lowAddrBuffer;
+ block = (const char*)lowAddrBuffer;
}
/* Test compression destSize */