From b67f81d8df372a458183045dcd416307a8d7e485 Mon Sep 17 00:00:00 2001 From: Jonathan Schleifer Date: Tue, 6 Nov 2018 22:34:04 +0000 Subject: [PATCH] Fix compilation with GCC FossilOrigin-Name: 77e08a12144f020c1748126730395f01f09b591a6fbb74b0a7047f772b28929d --- src/IRCConnection.h | 4 ++-- 1 file 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 @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;