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