summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Schleifer <js@heap.zone>2018-11-06 23:34:04 +0100
committerJonathan Schleifer <js@heap.zone>2018-11-06 23:34:04 +0100
commitf4006948195f73c27268114d564ad8e613a172d2 (patch)
tree2522672e3a7ab4f018d5b2c2de6f752278aa2823
parentcfcd85d286b40c937929c36eeb53baebbf2fbb89 (diff)
Fix compilation with GCC
-rw-r--r--src/IRCConnection.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/IRCConnection.h b/src/IRCConnection.h
index 00b4b54..1d0e2c8 100644
--- a/src/IRCConnection.h
+++ b/src/IRCConnection.h
@@ -31,7 +31,7 @@ OF_ASSUME_NONNULL_BEGIN
@protocol IRCConnectionDelegate <OFObject>
@optional
- (void)connection: (IRCConnection *)connection
- didCreateSocket: (OF_KINDOF(OFTCPSocket) *)socket;
+ didCreateSocket: (OF_KINDOF(OFTCPSocket *))socket;
- (void)connection: (IRCConnection *)connection
didReceiveLine: (OFString *)line;
- (void)connection: (IRCConnection *)connection
@@ -77,7 +77,7 @@ OF_ASSUME_NONNULL_BEGIN
@interface IRCConnection: OFObject
{
Class _socketClass;
- OF_KINDOF(OFTCPSocket) *_Nullable _socket;
+ OF_KINDOF(OFTCPSocket *) _Nullable _socket;
OFString *_Nullable _server;
uint16_t _port;
OFString *_Nullable _nickname, *_Nullable _username;