@@ -1127,11 +1127,11 @@ OFString *otherString; if (![object isKindOfClass: [OFString class]]) return NO; - otherString = (OFString*)object; + otherString = object; if (strcmp(string, [otherString cString])) return NO; return YES; @@ -1155,12 +1155,11 @@ if (![object isKindOfClass: [OFString class]]) @throw [OFInvalidArgumentException newWithClass: isa selector: _cmd]; - otherString = (OFString*)object; - + otherString = object; otherLen = [otherString cStringLength]; minLen = (length > otherLen ? otherLen : length); if ((cmp = memcmp(string, [otherString cString], minLen)) == 0) { if (length > otherLen)