From: Paul Cruz Date: Tue, 20 Jun 2017 20:44:05 +0000 (-0700) Subject: changed to use LONG_SEEK X-Git-Tag: v1.3.0~1^2~21^2~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3701dde3ba8e48e57194024a9056373de268f16e;p=thirdparty%2Fzstd.git changed to use LONG_SEEK --- diff --git a/programs/fileio.c b/programs/fileio.c index 93ec3f181..37ec7f815 100644 --- a/programs/fileio.c +++ b/programs/fileio.c @@ -982,7 +982,7 @@ static int getFileInfo(fileInfo_t* info, const char* inFileName){ } { 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) { DISPLAY("Error: could not find end of skippable frame\n"); detectError = 1;