Adjust to ObjFW changes
This commit is contained in:
parent
3d0573f432
commit
a623ca01d8
3 changed files with 6 additions and 4 deletions
|
@ -372,7 +372,8 @@ OF_ASSUME_NONNULL_END
|
|||
length: BUFFER_LENGTH
|
||||
target: self
|
||||
selector: @selector(stream:didReadIntoBuffer:length:
|
||||
exception:)];
|
||||
exception:)
|
||||
context: nil];
|
||||
}
|
||||
|
||||
- (void)asyncConnectAndHandle
|
||||
|
@ -460,7 +461,8 @@ OF_ASSUME_NONNULL_END
|
|||
target: self
|
||||
selector: @selector(stream:
|
||||
didReadIntoBuffer:length:
|
||||
exception:)];
|
||||
exception:)
|
||||
context: nil];
|
||||
|
||||
return false;
|
||||
}
|
||||
|
|
|
@ -129,7 +129,7 @@
|
|||
if (object == self)
|
||||
return OF_ORDERED_SAME;
|
||||
|
||||
if (![object isKindOfClass: [XMPPDiscoIdentity class]])
|
||||
if (![(id)object isKindOfClass: [XMPPDiscoIdentity class]])
|
||||
@throw [OFInvalidArgumentException exception];
|
||||
|
||||
identity = (XMPPDiscoIdentity *)object;
|
||||
|
|
|
@ -218,7 +218,7 @@ show_to_int(OFString *show)
|
|||
if (object == self)
|
||||
return OF_ORDERED_SAME;
|
||||
|
||||
if (![object isKindOfClass: [XMPPPresence class]])
|
||||
if (![(id)object isKindOfClass: [XMPPPresence class]])
|
||||
@throw [OFInvalidArgumentException exception];
|
||||
|
||||
otherPresence = (XMPPPresence *)object;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue