diff options
author | Yann Collet <cyan@fb.com> | 2017-05-11 00:06:31 (GMT) |
---|---|---|
committer | Yann Collet <cyan@fb.com> | 2017-05-11 00:06:31 (GMT) |
commit | 2600a154bebdf79637e289ed19e53e2c72a168d7 (patch) | |
tree | a0c31a6b1334168c685168de35116ee7e5d0d9cd | |
parent | e60cbb5cacaa43eda7a3df7c2d9051a9437e7046 (diff) | |
download | lz4-2600a154bebdf79637e289ed19e53e2c72a168d7.zip lz4-2600a154bebdf79637e289ed19e53e2c72a168d7.tar.gz lz4-2600a154bebdf79637e289ed19e53e2c72a168d7.tar.bz2 |
fix (minor) g++ compatibility for frametest
-rw-r--r-- | tests/frametest.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |