summaryrefslogtreecommitdiff
path: root/CyteKit/WebViewController.mm
diff options
context:
space:
mode:
authorJay Freeman (saurik) <saurik@saurik.com>2011-06-08 22:42:18 -0700
committerJay Freeman (saurik) <saurik@saurik.com>2011-06-08 22:42:18 -0700
commit4cc9e99a32a73858f3b9739c0cf8ec82bb35e93e (patch)
tree31fbd2791655a0e23e3bd0a173744d92602dd0f1 /CyteKit/WebViewController.mm
parent058813ae78aec1b25c7c44b2a6188b7ae2264107 (diff)
Make compilations with clang succeed.
Diffstat (limited to 'CyteKit/WebViewController.mm')
-rw-r--r--CyteKit/WebViewController.mm4
1 files changed, 2 insertions, 2 deletions
diff --git a/CyteKit/WebViewController.mm b/CyteKit/WebViewController.mm
index e5cfbb4..25e9aeb 100644
--- a/CyteKit/WebViewController.mm
+++ b/CyteKit/WebViewController.mm
@@ -534,7 +534,7 @@ float CYScrollViewDecelerationRateNormal;
if ([frame parentFrame] == nil) {
if (DOMDocument *document = [frame DOMDocument])
- if (DOMNodeList<NSFastEnumeration> *bodies = [document getElementsByTagName:@"body"])
+ if (DOMNodeList *bodies = [document getElementsByTagName:@"body"])
for (DOMHTMLBodyElement *body in (id) bodies) {
DOMCSSStyleDeclaration *style([document getComputedStyle:body pseudoElement:nil]);
@@ -697,7 +697,7 @@ float CYScrollViewDecelerationRateNormal;
- (UIBarButtonItem *) customButton {
if (custom_ == nil)
return nil;
- else if (custom_ == [NSNull null])
+ else if ((/*clang:*/id) custom_ == [NSNull null])
return (UIBarButtonItem *) [NSNull null];
return [[[UIBarButtonItem alloc]