mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 08:21:25 +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
|
@ -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…
Add table
Add a link
Reference in a new issue