We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 68e9fb1 commit c97fa66Copy full SHA for c97fa66
1 file changed
Tests/base/NSXMLElement/basic.m
@@ -60,8 +60,8 @@ int main()
60
[node release];
61
62
// Equality tests.
63
- node = [[NSXMLNode alloc] initWithKind: NSXMLElementKind];
64
- other = [[NSXMLNode alloc] initWithKind: NSXMLElementKind];
+ node = (NSXMLElement*)[[NSXMLNode alloc] initWithKind: NSXMLElementKind];
+ other = (NSXMLElement*)[[NSXMLNode alloc] initWithKind: NSXMLElementKind];
65
[other setName: @"test"];
66
[node setName: @"test"];
67
PASS([node isEqual: other],
0 commit comments