mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-22 16:33:29 +00:00
fix bug 17069
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@23210 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
3c803fe41a
commit
a20550f7af
2 changed files with 2 additions and 1 deletions
|
@ -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 <greg_casamento@yahoo.com>
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue