From cea55a9217530b1b2888836c334194c960c77523 Mon Sep 17 00:00:00 2001 From: Paul Cruz Date: Tue, 20 Jun 2017 11:56:11 -0700 Subject: [PATCH] size_t const value --- programs/fileio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/programs/fileio.c b/programs/fileio.c index f4927327..34232546 100644 --- a/programs/fileio.c +++ b/programs/fileio.c @@ -933,7 +933,7 @@ static int getFileInfo(fileInfo_t* info, const char* inFileName){ BYTE blockHeaderBuffer[3]; U32 blockHeader; int blockSize; - size_t readBytes = fread(blockHeaderBuffer, 1, 3, srcFile); + size_t const readBytes = fread(blockHeaderBuffer, 1, 3, srcFile); if (readBytes != 3) { DISPLAY("There was a problem reading the block header\n"); detectError = 1;