Fix compilation with GCC

FossilOrigin-Name: 77e08a12144f020c1748126730395f01f09b591a6fbb74b0a7047f772b28929d
This commit is contained in:
Jonathan Schleifer 2018-11-06 22:34:04 +00:00
parent 3a58197366
commit b67f81d8df

View file

@ -31,7 +31,7 @@ OF_ASSUME_NONNULL_BEGIN
@protocol IRCConnectionDelegate <OFObject> @protocol IRCConnectionDelegate <OFObject>
@optional @optional
- (void)connection: (IRCConnection *)connection - (void)connection: (IRCConnection *)connection
didCreateSocket: (OF_KINDOF(OFTCPSocket) *)socket; didCreateSocket: (OF_KINDOF(OFTCPSocket *))socket;
- (void)connection: (IRCConnection *)connection - (void)connection: (IRCConnection *)connection
didReceiveLine: (OFString *)line; didReceiveLine: (OFString *)line;
- (void)connection: (IRCConnection *)connection - (void)connection: (IRCConnection *)connection
@ -77,7 +77,7 @@ OF_ASSUME_NONNULL_BEGIN
@interface IRCConnection: OFObject @interface IRCConnection: OFObject
{ {
Class _socketClass; Class _socketClass;
OF_KINDOF(OFTCPSocket) *_Nullable _socket; OF_KINDOF(OFTCPSocket *) _Nullable _socket;
OFString *_Nullable _server; OFString *_Nullable _server;
uint16_t _port; uint16_t _port;
OFString *_Nullable _nickname, *_Nullable _username; OFString *_Nullable _nickname, *_Nullable _username;