@@ -130,11 +130,11 @@ if (size > SIZE_MAX) @throw [OFOutOfRangeException exceptionWithClass: [self class]]; self = [self initWithItemSize: 1 - capacity: size]; + capacity: (size_t)size]; @try { size_t pageSize = [OFSystemInfo pageSize]; char *buffer = [self allocMemoryWithSize: pageSize];