@@ -26,14 +26,14 @@ #import "OFStream.h" #import "OFInvalidArgumentException.h" #import "OFInvalidFormatException.h" -extern uint32_t of_zip_archive_read_field32(uint8_t**, uint16_t*); -extern uint64_t of_zip_archive_read_field64(uint8_t**, uint16_t*); +extern uint32_t of_zip_archive_read_field32(uint8_t **, uint16_t *); +extern uint64_t of_zip_archive_read_field64(uint8_t **, uint16_t *); -OFString* +OFString * of_zip_archive_entry_version_to_string(uint16_t version) { const char *attrCompat = NULL; switch (version >> 8) { @@ -153,11 +153,11 @@ @synthesize generalPurposeBitFlag = _generalPurposeBitFlag; @synthesize OF_lastModifiedFileTime = _lastModifiedFileTime; @synthesize OF_lastModifiedFileDate = _lastModifiedFileDate; @synthesize OF_localFileHeaderOffset = _localFileHeaderOffset; -- (instancetype)OF_initWithStream: (OFStream*)stream +- (instancetype)OF_initWithStream: (OFStream *)stream { self = [super init]; @try { void *pool = objc_autoreleasePoolPush(); @@ -235,11 +235,11 @@ [_fileComment release]; [super dealloc]; } -- (OFDate*)modificationDate +- (OFDate *)modificationDate { void *pool = objc_autoreleasePoolPush(); uint16_t year = ((_lastModifiedFileDate & 0xFE00) >> 9) + 1980; uint8_t month = (_lastModifiedFileDate & 0x1E0) >> 5; uint8_t day = (_lastModifiedFileDate & 0x1F); @@ -259,16 +259,16 @@ objc_autoreleasePoolPop(pool); return [date autorelease]; } -- (OFDataArray*)extraField +- (OFDataArray *)extraField { return [[_extraField copy] autorelease]; } -- (OFString*)description +- (OFString *)description { void *pool = objc_autoreleasePoolPush(); OFString *ret = [OFString stringWithFormat: @"<%@:\n" @"\tFile name = %@\n" @"\tFile comment = %@\n"