Commit de839524 authored by Thomas Jahns's avatar Thomas Jahns 🤸
Browse files

Fix type conversions in EXTRA block size computations.

parent 4e3e5a31
......@@ -147,11 +147,11 @@ void extDelete(void *ext)
int extCheckFiletype(int fileID, int *swap)
{
size_t blocklen = 0;
size_t blocklen = 0, fact = 0;
size_t sblocklen = 0;
size_t data = 0;
size_t dimxy = 0;
int fact = 0, found = 0;
int found = 0;
unsigned char buffer[40], *pbuf;
if ( fileRead(fileID, buffer, 4) != 4 ) return (found);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment