Index: src/OFInflate64Stream.h ================================================================== --- src/OFInflate64Stream.h +++ src/OFInflate64Stream.h @@ -79,11 +79,11 @@ * * @param stream The underlying stream to which compressed data is written or * from which compressed data is read * @return A new, autoreleased OFInflate64Stream */ -+ (instancetype)streamWithStream: (OFStream *)stream; ++ (instancetype)streamWithStream: (OF_KINDOF(OFStream *))stream; - (instancetype)init OF_UNAVAILABLE; /*! * @brief Initializes an already allocated OFInflate64Stream with the specified @@ -91,9 +91,10 @@ * * @param stream The underlying stream to which compressed data is written or * from which compressed data is read * @return A initialized OFInflate64Stream */ -- (instancetype)initWithStream: (OFStream *)stream OF_DESIGNATED_INITIALIZER; +- (instancetype)initWithStream: (OF_KINDOF(OFStream *))stream + OF_DESIGNATED_INITIALIZER; @end OF_ASSUME_NONNULL_END Index: src/OFMutableLHAArchiveEntry.h ================================================================== --- src/OFMutableLHAArchiveEntry.h +++ src/OFMutableLHAArchiveEntry.h @@ -107,15 +107,13 @@ /*! * @brief The LHA extensions of the file. */ @property (readwrite, copy, nonatomic) OFArray OF_GENERIC(OFData *) *extensions; -- (instancetype)init OF_UNAVAILABLE; - /*! * @brief Converts the OFMutableLHAArchiveEntry to an immutable * OFLHAArchiveEntry. */ - (void)makeImmutable; @end OF_ASSUME_NONNULL_END