fix minor conversion warning
authortest4973 <Kdo4973@hotmail.com>
Tue, 10 Apr 2018 03:38:00 +0000 (20:38 -0700)
committertest4973 <Kdo4973@hotmail.com>
Tue, 10 Apr 2018 03:38:00 +0000 (20:38 -0700)
cast from void not implicit for C++

tests/fuzzer.c

index 8ffdb22..2e3ee92 100644 (file)
@@ -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 */