The decompress_memory_z function took an int* for the array of
its destination. However, there were instances in the code that
were trying to give it an unsigned char* (probably because
that is the destination array type for the sister function
decompress_memory_zstd).
Change the destination argument to unsigned char*. This makes
the array type more consistent between the two decompress_memory
function. It also matches better with the dstLen argument,
which measures the length of the array in bytes.
The
decompress_memory_z
function took anint*
for the array of its destination. However, there were instances in the code that were trying to give it anunsigned char*
(probably because that is the destination array type for the sister functiondecompress_memory_zstd
).Change the destination argument to
unsigned char*
. This makes the array type more consistent between the two decompress_memory function. It also matches better with thedstLen
argument, which measures the length of the array in bytes.