From: Yann Collet Date: Fri, 15 Sep 2017 17:16:26 +0000 (-0700) Subject: fixed minor conversion warning X-Git-Tag: fuzz-corpora2~5^2~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a9694231ca4ebf2391b2100675d0d7a2639680d9;p=thirdparty%2Fzstd.git fixed minor conversion warning --- diff --git a/programs/dibio.c b/programs/dibio.c index d7b7601dc..5ea384c6b 100644 --- a/programs/dibio.c +++ b/programs/dibio.c @@ -129,7 +129,7 @@ static unsigned DiB_loadFiles(void* buffer, size_t* bufferSizePtr, chunkSizes[nbLoadedChunks++] = toLoad; remainingToLoad -= targetChunkSize; if (toLoad < targetChunkSize) { - fseek(f, (targetChunkSize - toLoad), SEEK_CUR); + fseek(f, (long)(targetChunkSize - toLoad), SEEK_CUR); } } } fclose(f); }