mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-31 00:30:53 +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
1250b929e7
commit
d6db7b756e
1 changed files with 2 additions and 1 deletions
|
@ -34,6 +34,7 @@
|
||||||
|
|
||||||
#include <gnustep/base/preface.h>
|
#include <gnustep/base/preface.h>
|
||||||
#include <gnustep/base/Connection.h>
|
#include <gnustep/base/Connection.h>
|
||||||
|
#include <Foundation/NSConnection.h>
|
||||||
#include <gnustep/base/Proxy.h>
|
#include <gnustep/base/Proxy.h>
|
||||||
#include <gnustep/base/ConnectedCoder.h>
|
#include <gnustep/base/ConnectedCoder.h>
|
||||||
#include <gnustep/base/TcpPort.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 */
|
/* Here is the OpenStep version, which just allows the returning of BOOL */
|
||||||
if ([[ancestor delegate] respondsTo:@selector(makeNewConnection:sender:)])
|
if ([[ancestor delegate] respondsTo:@selector(makeNewConnection:sender:)])
|
||||||
{
|
{
|
||||||
if (![[ancestor delegate] makeNewConnection: newConn
|
if (![[ancestor delegate] makeNewConnection: (NSConnection*)newConn
|
||||||
sender: [ancestor delegate]])
|
sender: [ancestor delegate]])
|
||||||
{
|
{
|
||||||
[newConn release];
|
[newConn release];
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue