Add padding in HPKG/HPKR headers

... so that the different alignment on 32 and 64 bit machines doesn't
change the layout.
This commit is contained in:
Ingo Weinhold
2013-05-25 01:12:28 +02:00
parent 5d3de03be5
commit 521545f7fb
@@ -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;