@@ -22,11 +22,11 @@ #import "common.h" @implementation OFSeekFailedException + (instancetype)exceptionWithStream: (OFSeekableStream*)stream - offset: (off_t)offset + offset: (of_offset_t)offset whence: (int)whence { return [[[self alloc] initWithStream: stream offset: offset whence: whence] autorelease]; @@ -36,11 +36,11 @@ { OF_INVALID_INIT_METHOD } - initWithStream: (OFSeekableStream*)stream - offset: (off_t)offset + offset: (of_offset_t)offset whence: (int)whence { self = [super init]; _stream = [stream retain]; @@ -68,11 +68,11 @@ - (OFSeekableStream*)stream { OF_GETTER(_stream, true) } -- (off_t)offset +- (of_offset_t)offset { return _offset; } - (int)whence