//\r
// Read all of the file contents.\r
//\r
- BytesRead = fread (*FileBuffer, sizeof (UINT8), *FileSize, InputFile);\r
+ BytesRead = (UINT32)fread (*FileBuffer, sizeof (UINT8), *FileSize, InputFile);\r
if (BytesRead != *FileSize * sizeof (UINT8)) {\r
fprintf (stderr, "Error reading the input file %s\n", InputFileName);\r
fclose (InputFile);\r