@@ -19,10 +19,11 @@ OF_ASSUME_NONNULL_BEGIN /** @file */ @class OFDate; +@class OFNumber; /** * @brief The type of the archive entry. */ typedef enum { @@ -51,13 +52,12 @@ */ @interface OFTarArchiveEntry: OFObject { OFString *_fileName; - unsigned long _mode; + OFNumber *_mode, *_UID, *_GID; unsigned long long _compressedSize, _uncompressedSize; - unsigned long _UID, _GID; OFDate *_modificationDate; OFTarArchiveEntryType _type; OFString *_Nullable _targetFileName; OFString *_Nullable _owner, *_Nullable _group; unsigned long _deviceMajor, _deviceMinor; @@ -65,21 +65,21 @@ } /** * @brief The mode of the entry. */ -@property (readonly, nonatomic) unsigned long mode; +@property (readonly, retain, nonatomic) OFNumber *mode; /** * @brief The UID of the owner. */ -@property (readonly, nonatomic) unsigned long UID; +@property (readonly, retain, nonatomic) OFNumber *UID; /** * @brief The GID of the group. */ -@property (readonly, nonatomic) unsigned long GID; +@property (readonly, retain, nonatomic) OFNumber *GID; /** * @brief The date of the last modification of the file. */ @property (readonly, retain, nonatomic) OFDate *modificationDate;