changed to use LONG_SEEK
This commit is contained in:
parent
93a5510962
commit
3701dde3ba
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user