@@ -52,11 +52,11 @@ @implementation ZIPArchive + (void)initialize { if (self == [ZIPArchive class]) - app = [[OFApplication sharedApplication] delegate]; + app = (OFZIP*)[[OFApplication sharedApplication] delegate]; } + (instancetype)archiveWithStream: (OF_KINDOF(OFStream*))stream { return [[[self alloc] initWithStream: stream] autorelease];