aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorfalkTX <falktx@falktx.com>2021-06-07 10:32:34 +0100
committerDavid Robillard <d@drobilla.net>2021-06-07 11:34:33 -0400
commite52c00ebaf1d3e2ca1c87a291ed36b10a4822d62 (patch)
tree4b3a920fa7667a42a12d0b7e89aad75a493a21a2 /src
parent6c7955c0961d907cd660ff55cde65a537904b7f5 (diff)
downloadpugl-e52c00ebaf1d3e2ca1c87a291ed36b10a4822d62.tar.gz
pugl-e52c00ebaf1d3e2ca1c87a291ed36b10a4822d62.tar.bz2
pugl-e52c00ebaf1d3e2ca1c87a291ed36b10a4822d62.zip
MacOS: Fix conversion warning
Diffstat (limited to 'src')
-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);
}