summaryrefslogtreecommitdiffstats
path: root/Source/WebKit/mac/Carbon/CarbonWindowAdapter.mm
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebKit/mac/Carbon/CarbonWindowAdapter.mm')
-rw-r--r--Source/WebKit/mac/Carbon/CarbonWindowAdapter.mm4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/WebKit/mac/Carbon/CarbonWindowAdapter.mm b/Source/WebKit/mac/Carbon/CarbonWindowAdapter.mm
index 9747350..7348304 100644
--- a/Source/WebKit/mac/Carbon/CarbonWindowAdapter.mm
+++ b/Source/WebKit/mac/Carbon/CarbonWindowAdapter.mm
@@ -179,7 +179,7 @@ static OSStatus NSCarbonWindowHandleEvent(EventHandlerCallRef inEventHandlerCall
osStatus = GetWindowModality(_windowRef, &windowModality, NULL);
if (osStatus != noErr) {
- NSLog(@"Couldn't get window modality: error=%d", osStatus);
+ NSLog(@"Couldn't get window modality: error=%ld", osStatus);
return nil;
}
@@ -334,7 +334,7 @@ static OSStatus NSCarbonWindowHandleEvent(EventHandlerCallRef inEventHandlerCall
if ([self _hasWindowRef]) {
osStatus = GetWindowClass([self windowRef], &windowClass);
if (osStatus != noErr) {
- NSLog(@"Couldn't get window class: error=%d", osStatus);
+ NSLog(@"Couldn't get window class: error=%ld", osStatus);
}
}
return windowClass;