From: Paul Cruz Date: Thu, 15 Jun 2017 23:01:52 +0000 (-0700) Subject: got rid of imlpicit precision loss X-Git-Tag: v1.3.0~1^2~21^2~17^2~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=54e0b6c66b78b0f9035ec06e959428cd200289c1;p=thirdparty%2Fzstd.git got rid of imlpicit precision loss --- diff --git a/programs/fileio.c b/programs/fileio.c index 23c8badc6..e76f93791 100644 --- a/programs/fileio.c +++ b/programs/fileio.c @@ -920,7 +920,7 @@ static int getFileInfo(fileInfo_t* info, const char* inFileName){ { /* move to the end of the frame header */ - int const ret = fseek(srcFile, headerSize-numBytesRead, SEEK_CUR); + int const ret = fseek(srcFile, (long)(headerSize-numBytesRead), SEEK_CUR); if (ret != 0) { DISPLAY("Error: could not move to end of frame header\n"); detectError = 1;