From 4ae67c260b098e793ddfaebdc198da6c97b3f13f Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Sun, 5 Aug 2007 13:20:34 -0700 Subject: [PATCH] Casting to remove a warning * Source/DebuggerConnection.m: ([DebuggerConnection propertyRecieved:]): Casting parent to be an NSXMLElement because childAtIndex returns an NSXMLNode --- Source/DebuggerConnection.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/DebuggerConnection.m b/Source/DebuggerConnection.m index 3f08c6d..32fb186 100644 --- a/Source/DebuggerConnection.m +++ b/Source/DebuggerConnection.m @@ -293,7 +293,7 @@ */ // we now have to detach all the children so we can insert them into another document - NSXMLElement *parent = [[doc rootElement] childAtIndex: 0]; + NSXMLElement *parent = (NSXMLElement *)[[doc rootElement] childAtIndex: 0]; NSArray *children = [parent children]; [parent setChildren: nil]; [_windowController addChildren: children toNode: _depthFetchElement]; -- 2.22.5