@@ -285,11 +285,11 @@ OFDate *otherDate; if (![object isKindOfClass: [OFDate class]]) return NO; - otherDate = (OFDate*)object; + otherDate = object; if (otherDate->seconds != seconds || otherDate->microseconds != microseconds) return NO; @@ -307,11 +307,11 @@ if (![object isKindOfClass: [OFDate class]]) @throw [OFInvalidArgumentException newWithClass: isa selector: _cmd]; - otherDate = (OFDate*)object; + otherDate = object; if (seconds < otherDate->seconds) return OF_ORDERED_ASCENDING; if (seconds > otherDate->seconds) return OF_ORDERED_DESCENDING;