From 7896ac2130395d9343d0d07d70cac9cc5215964b Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Sat, 4 Aug 2007 20:00:02 -0700 Subject: [PATCH] Make a cast to remove a warning * Source/NSXMLElementAdditions.m: ([NSXMLElement leaf]): Cast [elm parent] to be NSXMLElement to remove a warning --- Source/NSXMLElementAdditions.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/NSXMLElementAdditions.m b/Source/NSXMLElementAdditions.m index 381f03c..28cfa3c 100644 --- a/Source/NSXMLElementAdditions.m +++ b/Source/NSXMLElementAdditions.m @@ -43,7 +43,7 @@ while (elm != nil) { depth++; - elm = [elm parent]; + elm = (NSXMLElement *)[elm parent]; } NSLog(@"let's go to depth %d for %@", depth, self); } -- 2.43.5