From e52c00ebaf1d3e2ca1c87a291ed36b10a4822d62 Mon Sep 17 00:00:00 2001 From: falkTX Date: Mon, 7 Jun 2021 10:32:34 +0100 Subject: MacOS: Fix conversion warning --- src/mac.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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); } -- cgit v1.2.1