From a9694231ca4ebf2391b2100675d0d7a2639680d9 Mon Sep 17 00:00:00 2001 From: Yann Collet Date: Fri, 15 Sep 2017 10:16:26 -0700 Subject: [PATCH] fixed minor conversion warning --- programs/dibio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/programs/dibio.c b/programs/dibio.c index d7b7601d..5ea384c6 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); }