mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-23 00:41:02 +00:00
([Connection +newForInPort:outPort:ancestorConnection:]): Cast NEWCONN
to avoid warning. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2322 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
d2e0aac4e5
commit
6e7a73a93a
1 changed files with 2 additions and 1 deletions
|
@ -34,6 +34,7 @@
|
|||
|
||||
#include <gnustep/base/preface.h>
|
||||
#include <gnustep/base/Connection.h>
|
||||
#include <Foundation/NSConnection.h>
|
||||
#include <gnustep/base/Proxy.h>
|
||||
#include <gnustep/base/ConnectedCoder.h>
|
||||
#include <gnustep/base/TcpPort.h>
|
||||
|
@ -460,7 +461,7 @@ static int messages_received_count;
|
|||
/* Here is the OpenStep version, which just allows the returning of BOOL */
|
||||
if ([[ancestor delegate] respondsTo:@selector(makeNewConnection:sender:)])
|
||||
{
|
||||
if (![[ancestor delegate] makeNewConnection: newConn
|
||||
if (![[ancestor delegate] makeNewConnection: (NSConnection*)newConn
|
||||
sender: [ancestor delegate]])
|
||||
{
|
||||
[newConn release];
|
||||
|
|
Loading…
Reference in a new issue