Change to heap allocation, remove implicit type conversion

This commit is contained in:
Sen Huang
2019-11-08 13:57:25 -05:00
parent e1edc554a3
commit 97b7f712f3
2 changed files with 6 additions and 5 deletions
+1 -1
View File
@@ -1137,7 +1137,7 @@ static int basicUnitTests(U32 const seed, double compressibility)
size_t* const samplesSizes = (size_t*) malloc(nbSamples * sizeof(size_t));
size_t dictSize;
U32 dictID;
U32 dictHeaderSize;
size_t dictHeaderSize;
if (dictBuffer==NULL || samplesSizes==NULL) {
free(dictBuffer);