mirror of
https://github.com/facebook/zstd.git
synced 2025-07-30 22:23:13 +03:00
Advanced API change : Cctx & DCtx are now incomplete types for stricter type checking
This commit is contained in:
@ -235,7 +235,7 @@ unsigned long long FIO_compressFilename(const char* output_filename, const char*
|
||||
FILE* finput;
|
||||
FILE* foutput;
|
||||
size_t sizeCheck, cSize;
|
||||
ZSTD_cctx_t ctx;
|
||||
ZSTD_Cctx* ctx;
|
||||
|
||||
|
||||
/* Init */
|
||||
@ -319,7 +319,7 @@ unsigned long long FIO_decompressFilename(const char* output_filename, const cha
|
||||
U32 wNbBlocks = 4;
|
||||
U64 filesize = 0;
|
||||
BYTE* header[MAXHEADERSIZE];
|
||||
ZSTD_cctx_t dctx;
|
||||
ZSTD_Dctx* dctx;
|
||||
size_t toRead;
|
||||
size_t sizeCheck;
|
||||
|
||||
|
Reference in New Issue
Block a user