From 2600a154bebdf79637e289ed19e53e2c72a168d7 Mon Sep 17 00:00:00 2001 From: Yann Collet Date: Wed, 10 May 2017 17:06:31 -0700 Subject: fix (minor) g++ compatibility for frametest --- tests/frametest.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/frametest.c b/tests/frametest.c index 538bedc..0dadf9f 100644 --- a/tests/frametest.c +++ b/tests/frametest.c @@ -337,7 +337,7 @@ int basicTests(U32 seed, double compressibility) { BYTE* const ostart = (BYTE*)decodedBuffer; BYTE* op = ostart; BYTE* const oend = (BYTE*)decodedBuffer + COMPRESSIBLE_NOISE_LENGTH; - const BYTE* ip = compressedBuffer; + const BYTE* ip = (const BYTE*) compressedBuffer; const BYTE* const iend = ip + cSize; while (ip < iend) { size_t oSize = oend-op; -- cgit v0.12