mirror of
https://github.com/facebook/zstd.git
synced 2025-10-08 00:04:02 -04:00
size_t const value
This commit is contained in:
parent
b07d0af2ba
commit
cea55a9217
@ -933,7 +933,7 @@ static int getFileInfo(fileInfo_t* info, const char* inFileName){
|
|||||||
BYTE blockHeaderBuffer[3];
|
BYTE blockHeaderBuffer[3];
|
||||||
U32 blockHeader;
|
U32 blockHeader;
|
||||||
int blockSize;
|
int blockSize;
|
||||||
size_t readBytes = fread(blockHeaderBuffer, 1, 3, srcFile);
|
size_t const readBytes = fread(blockHeaderBuffer, 1, 3, srcFile);
|
||||||
if (readBytes != 3) {
|
if (readBytes != 3) {
|
||||||
DISPLAY("There was a problem reading the block header\n");
|
DISPLAY("There was a problem reading the block header\n");
|
||||||
detectError = 1;
|
detectError = 1;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user