]> granicus.if.org Git - zziplib/commitdiff
always use the ZZIP_GET macros
authorGuido Draheim <guidod@gmx.de>
Thu, 20 Apr 2017 17:13:50 +0000 (19:13 +0200)
committerGuido Draheim <guidod@gmx.de>
Thu, 20 Apr 2017 17:13:50 +0000 (19:13 +0200)
zzip/memdisk.c

index dc00ea865087435dbab6ce2522ef294d7b0bce63..1360354d778eb9eecf8105e2d7df464364354c4d 100644 (file)
@@ -218,10 +218,10 @@ zzip_mem_entry_new(ZZIP_DISK * disk, ZZIP_DISK_ENTRY * entry)
             zzip_mem_entry_extra_block(item, ZZIP_EXTRA_zip64);
         if (block)
         {
-            item->zz_usize = __zzip_get64(block->z_usize);
-            item->zz_csize = __zzip_get64(block->z_csize);
-            item->zz_offset = __zzip_get64(block->z_offset);
-            item->zz_diskstart = __zzip_get32(block->z_diskstart);
+            item->zz_usize = ZZIP_GET64(block->z_usize);
+            item->zz_csize = ZZIP_GET64(block->z_csize);
+            item->zz_offset = ZZIP_GET64(block->z_offset);
+            item->zz_diskstart = ZZIP_GET32(block->z_diskstart);
         }
     }
     /* NOTE: