]> git.ipfire.org Git - thirdparty/zstd.git/commitdiff
fixed minor conversion warning
authorYann Collet <cyan@fb.com>
Fri, 15 Sep 2017 17:16:26 +0000 (10:16 -0700)
committerYann Collet <cyan@fb.com>
Fri, 15 Sep 2017 17:16:26 +0000 (10:16 -0700)
programs/dibio.c

index d7b7601dc6c133382b0ff0c485b3a45f46b5e573..5ea384c6b9d04a9603ff9388710349339d72721f 100644 (file)
@@ -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);
     }