Fix compilation with GCC
This commit is contained in:
parent
8781264a61
commit
f3b93d7379
1 changed files with 2 additions and 2 deletions
|
@ -341,7 +341,7 @@
|
|||
@throw [OFAlreadyConnectedException exception];
|
||||
|
||||
_socket = [[OFTCPSocket alloc] init];
|
||||
[_socket setDelegate: self];
|
||||
[(OFTCPSocket *)_socket setDelegate: self];
|
||||
|
||||
if (_server != nil)
|
||||
[_socket asyncConnectToHost: _server
|
||||
|
@ -763,7 +763,7 @@
|
|||
[newSock startTLSWithExpectedHost: nil];
|
||||
[_socket release];
|
||||
_socket = newSock;
|
||||
[_socket setDelegate: self];
|
||||
[(OFTCPSocket *)_socket setDelegate: self];
|
||||
|
||||
_encrypted = true;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue