changed to use LONG_SEEK

This commit is contained in:
Paul Cruz 2017-06-20 13:44:05 -07:00
parent 93a5510962
commit 3701dde3ba

View File

@ -982,7 +982,7 @@ static int getFileInfo(fileInfo_t* info, const char* inFileName){
} }
{ {
U32 const frameSize = MEM_readLE32(frameSizeBuffer); U32 const frameSize = MEM_readLE32(frameSizeBuffer);
int const ret = fseek(srcFile, (long)frameSize, SEEK_CUR); int const ret = LONG_SEEK(srcFile, frameSize, SEEK_CUR);
if (ret != 0) { if (ret != 0) {
DISPLAY("Error: could not find end of skippable frame\n"); DISPLAY("Error: could not find end of skippable frame\n");
detectError = 1; detectError = 1;