fixed potential warning on undefine, reported by Maciej Adamczyk

This commit is contained in:
Yann Collet 2015-11-26 16:42:06 +01:00
parent 29a58c94f6
commit 661b94fb5d

View File

@ -260,7 +260,7 @@ size_t ZBUFF_compressContinue(ZBUFF_CCtx* zbc,
size_t ZBUFF_compressFlush(ZBUFF_CCtx* zbc, void* dst, size_t* maxDstSizePtr)
{
size_t srcSize = 0;
ZBUFF_compressContinue_generic(zbc, dst, maxDstSizePtr, NULL, &srcSize, 1);
ZBUFF_compressContinue_generic(zbc, dst, maxDstSizePtr, &srcSize, &srcSize, 1);
return zbc->outBuffContentSize - zbc->outBuffFlushedSize;
}