1
0
mirror of https://github.com/facebook/zstd.git synced 2025-08-01 09:47:01 +03:00

fix Visual warning

This commit is contained in:
Yann Collet
2015-12-16 03:12:31 +01:00
parent 7061135d33
commit a52c98d23a

View File

@ -415,7 +415,7 @@ static void BMK_loadFiles(void* buffer, size_t bufferSize,
readSize = fread(buff+pos, 1, (size_t)fileSize, f);
if (readSize != (size_t)fileSize) EXM_THROW(11, "could not read %s", fileNamesTable[n]);
pos += readSize;
fileSizes[n] = fileSize;
fileSizes[n] = (size_t)fileSize;
fclose(f);
}
}