summaryrefslogtreecommitdiff
path: root/UICaboodle/BrowserView.mm
diff options
context:
space:
mode:
Diffstat (limited to 'UICaboodle/BrowserView.mm')
-rw-r--r--UICaboodle/BrowserView.mm8
1 files changed, 4 insertions, 4 deletions
diff --git a/UICaboodle/BrowserView.mm b/UICaboodle/BrowserView.mm
index 9b0c93d..ff39763 100644
--- a/UICaboodle/BrowserView.mm
+++ b/UICaboodle/BrowserView.mm
@@ -161,7 +161,7 @@ static Class $UIWebBrowserView;
@implementation WebScriptObject (UICaboodle)
-- (unsigned) count {
+- (NSUInteger) count {
id length([self valueForKey:@"length"]);
if ([length respondsToSelector:@selector(intValue)])
return [length intValue];
@@ -759,10 +759,10 @@ static Class $UIWebBrowserView;
goto ignore;
}
- int store(_not(int));
+ NSInteger store(_not(NSInteger));
if (NSURL *itms = [url itmsURL:&store]) {
#if LogBrowser
- NSLog(@"itms#%@#%u#%@", url, store, itms);
+ NSLog(@"itms#%@#%d#%@", url, (int) store, itms);
#endif
if (capability != nil && (
@@ -1144,7 +1144,7 @@ static Class $UIWebBrowserView;
if ([frame parentFrame] == nil) {
if (DOMDocument *document = [frame DOMDocument])
if (DOMNodeList<NSFastEnumeration> *bodies = [document getElementsByTagName:@"body"])
- for (DOMHTMLBodyElement *body in bodies) {
+ for (DOMHTMLBodyElement *body in (id) bodies) {
DOMCSSStyleDeclaration *style([document getComputedStyle:body pseudoElement:nil]);
bool colored(false);