@@ -148,15 +148,15 @@ _name = [[OFString alloc] initWithUTF8String: property->name]; _attributes = property->attributes | (property->extended_attributes << 8); if (property->getter.name != NULL) - _getter = [[OFString alloc] initWithUTF8String: - (const char *)property->getter.name]; + _getter = [[OFString alloc] + initWithUTF8String: property->getter.name]; if (property->setter.name != NULL) - _setter = [[OFString alloc] initWithUTF8String: - (const char *)property->setter.name]; + _setter = [[OFString alloc] + initWithUTF8String: property->setter.name]; } @catch (id e) { [self release]; @throw e; } @@ -389,11 +389,11 @@ @try { const char *name = ivar_getName(ivar); if (name != NULL) _name = [[OFString alloc] initWithUTF8String: - (const char *)ivar_getName(ivar)]; + ivar_getName(ivar)]; _typeEncoding = ivar_getTypeEncoding(ivar); _offset = ivar_getOffset(ivar); } @catch (id e) { [self release]; @throw e;