mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-23 00:41:02 +00:00
Remove uses of the 'casts as lvalues' gcc extension.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18534 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
9bbcb2bec2
commit
3c7cd0b0ba
6 changed files with 14 additions and 5 deletions
|
@ -1,3 +1,12 @@
|
|||
2004-02-04 01:10 Alexander Malmberg <alexander@malmberg.org>
|
||||
|
||||
* Headers/Foundation/NSObject.h (ASSIGNCOPY),
|
||||
Source/GSDictionary.m (GSI_MAP_RETAIN_KEY),
|
||||
Source/NSNotificationCenter.m (-init),
|
||||
Source/NSProtocolChecker.m (-forwardInvocation:),
|
||||
Source/Additions/GSXML.m (-initWithDocument:): Remove uses of the
|
||||
now deprecated "casts as lvalues" gcc extension.
|
||||
|
||||
2004-02-02 Richard Frith-Macdonald <rfm@gnu.org>
|
||||
|
||||
* Source/NSPropertyList.m: Added class by Fred Kiefer to decode
|
||||
|
|
|
@ -467,7 +467,7 @@ if (__value != __object) \
|
|||
{ \
|
||||
__value = [__value copy]; \
|
||||
} \
|
||||
(id)object = __value; \
|
||||
object = __value; \
|
||||
if (__object != nil) \
|
||||
{ \
|
||||
[__object release]; \
|
||||
|
|
|
@ -3743,7 +3743,7 @@ fatalErrorFunction(void *ctx, const unsigned char *msg, ...)
|
|||
- (id) initWithDocument: (GSXMLDocument *)d
|
||||
{
|
||||
ASSIGN (_document, d);
|
||||
((xmlXPathContext*)_lib) = xmlXPathNewContext ([_document lib]);
|
||||
_lib = xmlXPathNewContext ([_document lib]);
|
||||
((xmlXPathContext*)_lib)->node = xmlDocGetRootElement ([_document lib]);
|
||||
|
||||
return self;
|
||||
|
|
|
@ -43,7 +43,7 @@
|
|||
#define GSI_MAP_VTYPES GSUNION_OBJ
|
||||
#define GSI_MAP_HASH(M, X) [X.obj hash]
|
||||
#define GSI_MAP_EQUAL(M, X,Y) [X.obj isEqual: Y.obj]
|
||||
#define GSI_MAP_RETAIN_KEY(M, X) ((id)(X).obj) = \
|
||||
#define GSI_MAP_RETAIN_KEY(M, X) ((X).obj) = \
|
||||
[((id)(X).obj) copyWithZone: map->zone]
|
||||
|
||||
#include "GNUstepBase/GSIMap.h"
|
||||
|
|
|
@ -589,7 +589,7 @@ static NSNotificationCenter *default_center = nil;
|
|||
{
|
||||
if ((self = [super init]) != nil)
|
||||
{
|
||||
TABLE = newNCTable();
|
||||
_table = newNCTable();
|
||||
}
|
||||
return self;
|
||||
}
|
||||
|
|
|
@ -75,7 +75,7 @@
|
|||
{
|
||||
if (((id)buffer) == _myTarget)
|
||||
{
|
||||
((id)buffer) = self;
|
||||
buffer = self;
|
||||
[anInvocation setReturnValue: buffer];
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue