aboutsummaryrefslogtreecommitdiffstats
path: root/src/mac.m
diff options
context:
space:
mode:
Diffstat (limited to 'src/mac.m')
-rw-r--r--src/mac.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mac.m b/src/mac.m
index 316da37..09d2e01 100644
--- a/src/mac.m
+++ b/src/mac.m
@@ -1237,7 +1237,7 @@ puglUpdate(PuglWorld* world, const double timeout)
untilDate:date
inMode:NSDefaultRunLoopMode
dequeue:YES]);) {
- if ([ev type] == NSApplicationDefined && [ev subtype] == PUGL_CLIENT) {
+ if ([ev type] == NSApplicationDefined && [ev subtype] == (NSEventSubtype)PUGL_CLIENT) {
dispatchClientEvent(world, ev);
}