Skip to content

Commit c1b3658

Browse files
committed
Explicit cast to remove warning.
1 parent 7f28149 commit c1b3658

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

PBWebHistoryController.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ - (void)commitDetailsLoaded:(NSNotification *)notification
122122
[[view windowScriptObject] callWebScriptMethod:@"showCommit" withArguments:[NSArray arrayWithObject:html]];
123123

124124
#ifdef DEBUG_BUILD
125-
NSString *dom=[[[[view mainFrame] DOMDocument] documentElement] outerHTML];
125+
NSString *dom=[(DOMHTMLElement*)[[[view mainFrame] DOMDocument] documentElement] outerHTML];
126126
NSString *tmpFile=@"~/tmp/test2.html";
127127
[dom writeToFile:[tmpFile stringByExpandingTildeInPath] atomically:true encoding:NSUTF8StringEncoding error:nil];
128128
#endif

0 commit comments

Comments
 (0)