]> git.ipfire.org Git - thirdparty/zstd.git/commitdiff
fixed minor conversion warning
authorYann Collet <cyan@fb.com>
Fri, 2 Feb 2018 04:16:00 +0000 (20:16 -0800)
committerYann Collet <cyan@fb.com>
Fri, 2 Feb 2018 04:16:00 +0000 (20:16 -0800)
programs/fileio.c

index bd880f30a0e648dac2fb1c38fb9b1e8481681697..9fc0fc9981eb2e870dd15b781db39636b03fd7a8 100644 (file)
@@ -1169,7 +1169,7 @@ static void FIO_zstdErrorHelp(dRess_t* ress, size_t err, char const* srcFileName
     /* Try to decode the frame header */
     err = ZSTD_getFrameHeader(&header, ress->srcBuffer, ress->srcBufferLoaded);
     if (err == 0) {
-        U64 const windowSize = header.windowSize;
+        unsigned long long const windowSize = header.windowSize;
         U32 const windowLog = FIO_highbit64(windowSize) + ((windowSize & (windowSize - 1)) != 0);
         U32 const windowMB = (U32)((windowSize >> 20) + ((windowSize & ((1 MB) - 1)) != 0));
         assert(windowSize < (U64)(1ULL << 52));