From b325a2e4dbc009f0caf60920b8e9d2a15917be67 Mon Sep 17 00:00:00 2001 From: Paul Cruz Date: Thu, 22 Jun 2017 15:36:28 -0700 Subject: [PATCH] changed assignment --- tests/decodecorpus.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/decodecorpus.c b/tests/decodecorpus.c index 81ddc4b69..2517483ff 100644 --- a/tests/decodecorpus.c +++ b/tests/decodecorpus.c @@ -1198,7 +1198,7 @@ static int genRandomDict(U32 dictID, U32 seed, size_t dictSize, BYTE* fullDict){ { size_t k; for (k = 0; k < currSize; k++) { - samples[samplesPos++] = (BYTE)literalValue; + *(samples + (samplesPos++)) = (BYTE)literalValue; } } literalValue++;