mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-29 16:01:38 +00:00
Hacks by Greg to placate 4.1 compiler. Just in case we can't persuade them
to 'fix' cast to union with an 'id' member. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21783 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
9c4017648e
commit
1ceb50725f
8 changed files with 25 additions and 25 deletions
|
@ -695,7 +695,7 @@ static IMP _xRefImp; /* Serialize a crossref. */
|
|||
GSNameFromClass([self class]), GSNameFromSelector(_cmd));
|
||||
}
|
||||
classInfo = [GSClassInfo newWithClass: c andVersion: cver];
|
||||
GSIArrayAddItem(_clsAry, (GSIArrayItem)classInfo);
|
||||
GSIArrayAddItem(_clsAry, (GSIArrayItem)((id)classInfo));
|
||||
*(Class*)address = classInfo->class;
|
||||
/*
|
||||
* Point the address to a dummy location and read the
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue