diff --git a/ChangeLog b/ChangeLog index 0bc08908c..e83c15102 100644 --- a/ChangeLog +++ b/ChangeLog @@ -2,6 +2,8 @@ * Source/NSPredicate.m: Reorganize initialisation of scanner to avoid implicit cast of zero to a va_listt (fix bug #17336) + * Source/Additions/GSObjCRuntime.m: GSObjCMakeClass() fix incorrect + calculation of ivar size/offset information as reported in bug #17069 2006-08-04 23:26-EDT Gregory John Casamento diff --git a/Source/Additions/GSObjCRuntime.m b/Source/Additions/GSObjCRuntime.m index 1110309fb..452274c9f 100644 --- a/Source/Additions/GSObjCRuntime.m +++ b/Source/Additions/GSObjCRuntime.m @@ -506,7 +506,6 @@ GSObjCMakeClass(NSString *name, NSString *superName, NSDictionary *iVars) ivar->ivar_type = tmp; // align the ivar (i.e. put it on the first aligned address - iVarSize = objc_aligned_size(ivar->ivar_type); ivar->ivar_offset = iVarSize; iVarSize += objc_sizeof_type(ivar->ivar_type); // add the ivar size ivar = ivar + 1;