summaryrefslogtreecommitdiff
path: root/macosx/plugins/PeopsXgl/macsrc/PluginWindow.m
diff options
context:
space:
mode:
Diffstat (limited to 'macosx/plugins/PeopsXgl/macsrc/PluginWindow.m')
-rw-r--r--macosx/plugins/PeopsXgl/macsrc/PluginWindow.m4
1 files changed, 2 insertions, 2 deletions
diff --git a/macosx/plugins/PeopsXgl/macsrc/PluginWindow.m b/macosx/plugins/PeopsXgl/macsrc/PluginWindow.m
index 844cf466..dd32db65 100644
--- a/macosx/plugins/PeopsXgl/macsrc/PluginWindow.m
+++ b/macosx/plugins/PeopsXgl/macsrc/PluginWindow.m
@@ -28,7 +28,7 @@
- (void)sendEvent:(NSEvent *)theEvent
{
- int type = [theEvent type];
+ NSEventType type = [theEvent type];
if (type == NSKeyDown || type == NSKeyUp) {
if (type == NSKeyDown && [theEvent keyCode] == 53 /* escape */) {
// reroute to menu event
@@ -43,7 +43,7 @@
}
- (id) initWithContentRect: (NSRect) contentRect
- styleMask: (unsigned int) aStyle
+ styleMask: (NSUInteger) aStyle
backing: (NSBackingStoreType) bufferingType
defer: (BOOL) flag
{