diff options
-rw-r--r-- | src/mac.m | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); } |