From 521545f7fbee52f5c7db523dc63100be8726ff72 Mon Sep 17 00:00:00 2001 From: Ingo Weinhold Date: Mon, 20 May 2013 14:22:39 +0200 Subject: [PATCH] Add padding in HPKG/HPKR headers ... so that the different alignment on 32 and 64 bit machines doesn't change the layout. --- headers/private/package/hpkg/HPKGDefsPrivate.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/headers/private/package/hpkg/HPKGDefsPrivate.h b/headers/private/package/hpkg/HPKGDefsPrivate.h index dd2b82062c..ce8837dd34 100644 --- a/headers/private/package/hpkg/HPKGDefsPrivate.h +++ b/headers/private/package/hpkg/HPKGDefsPrivate.h @@ -35,6 +35,7 @@ struct hpkg_header { uint32 attributes_length; uint32 attributes_strings_length; uint32 attributes_strings_count; + uint32 reserved1; // TOC section uint64 toc_length; @@ -58,6 +59,7 @@ struct hpkg_repo_header { // repository info section uint32 info_length; + uint32 reserved1; // package attributes section uint64 packages_length;