mirror of
https://github.com/facebook/zstd.git
synced 2025-07-29 11:21:22 +03:00
Change to heap allocation, remove implicit type conversion
This commit is contained in:
@ -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);
|
||||
|
Reference in New Issue
Block a user