Fix lz4frame.c debug printfs
@@ -1274,14 +1274,14 @@ size_t LZ4F_decompress(LZ4F_dctx* dctx,
dctx->tmpIn = (BYTE*)ALLOCATOR(dctx->maxBlockSize);
if (dctx->tmpIn == NULL)
{
- printf("Err1: %d", dctx->maxBlockSize);
+ printf("Err1: %ld", dctx->maxBlockSize);
return err0r(LZ4F_ERROR_allocation_failed);
}
FREEMEM(dctx->tmpOutBuffer);
dctx->tmpOutBuffer= (BYTE*)ALLOCATOR(bufferNeeded);
if (dctx->tmpOutBuffer== NULL)
{
- printf("Err2: %d", bufferNeeded);
+ printf("Err2: %ld", bufferNeeded);
return err0r(LZ4F_ERROR_allocation_failed);
}
dctx->maxBufferSize = bufferNeeded;
