diff --git a/ChangeLog b/ChangeLog index 2e5b4c4c0..dc25714d8 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2004-07-02 Fred Kiefer + + * Source/NSTimeZone.m: Define structure ttinfo as packed to get it + aligned correctly on ARM. Patch from bug report #9452. + 2004-07-01 David Ayers * Headers/Foundation/NSMethodSignature.h diff --git a/Source/NSTimeZone.m b/Source/NSTimeZone.m index 9c93b36f0..a5dc82dc6 100644 --- a/Source/NSTimeZone.m +++ b/Source/NSTimeZone.m @@ -167,7 +167,7 @@ struct ttinfo char offset[4]; // Seconds east of UTC unsigned char isdst; // Daylight savings time? unsigned char abbr_idx; // Index into time zone abbreviations string -}; +} __attribute__((packed)); /* * And this is the structure used in the time zone instances.