]> git.ipfire.org Git - thirdparty/zstd.git/commitdiff
changed U64 to unsigned long to get rid of build test errors
authorPaul Cruz <paulcruz74@fb.com>
Wed, 14 Jun 2017 20:11:18 +0000 (13:11 -0700)
committerPaul Cruz <paulcruz74@fb.com>
Wed, 14 Jun 2017 20:11:18 +0000 (13:11 -0700)
programs/fileio.c

index ca08c7f9dd2fb1865d79380609c8ee3d184cee60..9d905062fff9778d08c372a869e0aaaef22f0b37 100644 (file)
@@ -865,9 +865,9 @@ int FIO_compressFilename(const char* dstFileName, const char* srcFileName,
 typedef struct {
     int numActualFrames;
     int numSkippableFrames;
-    U64 decompressedSize;
+    unsigned long decompressedSize;
     int canComputeDecompSize;
-    U64 compressedSize;
+    unsigned long compressedSize;
     int usesCheck;
 } fileInfo_t;
 
@@ -1018,9 +1018,9 @@ void displayInfo(const char* inFileName, fileInfo_t* info, int displayLevel){
     else{
         DISPLAY("# Zstandard Frames: %d\n", info->numActualFrames);
         DISPLAY("# Skippable Frames: %d\n", info->numSkippableFrames);
-        DISPLAY("Compressed Size: %.2f MB (%llu B)\n", compressedSizeMB, info->compressedSize);
+        DISPLAY("Compressed Size: %.2f MB (%lu B)\n", compressedSizeMB, info->compressedSize);
         if(info->canComputeDecompSize){
-            DISPLAY("Decompressed Size: %.2f MB (%llu B)\n", decompressedSizeMB, info->decompressedSize);
+            DISPLAY("Decompressed Size: %.2f MB (%lu B)\n", decompressedSizeMB, info->decompressedSize);
             DISPLAY("Ratio: %.4f\n", compressedSizeMB/decompressedSizeMB);
         }
         if(info->usesCheck){