fixed minor conversion warning

This commit is contained in:
Yann Collet 2017-09-15 10:16:26 -07:00
parent 086b9597d9
commit a9694231ca

View File

@ -129,7 +129,7 @@ static unsigned DiB_loadFiles(void* buffer, size_t* bufferSizePtr,
chunkSizes[nbLoadedChunks++] = toLoad; chunkSizes[nbLoadedChunks++] = toLoad;
remainingToLoad -= targetChunkSize; remainingToLoad -= targetChunkSize;
if (toLoad < targetChunkSize) { if (toLoad < targetChunkSize) {
fseek(f, (targetChunkSize - toLoad), SEEK_CUR); fseek(f, (long)(targetChunkSize - toLoad), SEEK_CUR);
} } } } } }
fclose(f); fclose(f);
} }