diff --git a/doc/Changelog b/doc/Changelog index fe0bb47fd..f76fd4c6e 100644 --- a/doc/Changelog +++ b/doc/Changelog @@ -1,3 +1,6 @@ +14 May 2007: Wouter + - Port to OS/X and Dec Alpha. Printf format and alignment fixes. + 11 May 2007: Wouter - iterator/iterator.c module. - fixup to pass reply_info in testcode and in netevent. diff --git a/util/data/packed_rrset.h b/util/data/packed_rrset.h index 068ccf7aa..f5ced474c 100644 --- a/util/data/packed_rrset.h +++ b/util/data/packed_rrset.h @@ -159,8 +159,10 @@ enum rrset_trust { * memory layout: * o base struct * o rr_len size_t array - * o rr_ttl uint32_t array * o rr_data uint8_t* array + * o rr_ttl uint32_t array (after size_t and ptrs because those may be + * 64bit and this array before those would make them unaligned). + * Since the stuff before is 32/64bit, rr_ttl is 32 bit aligned. * o rr_data rdata wireformats * o rrsig_data rdata wireformat(s) *