aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2017-07-23 10:50:10 +0200
committerDavid Robillard <d@drobilla.net>2017-10-03 16:20:52 +0200
commit665dfdd7c5689838c6cef0406b2b4197383c24e5 (patch)
treeccbba82fb76cf179618269b74513744216c12dff
parent5a1dacefe8ab25d743c0d0fbce6fa1aca5d2c9cb (diff)
Fix implicit integer conversion warning
-rw-r--r--pugl/pugl_osx.m4
1 files changed, 2 insertions, 2 deletions
diff --git a/pugl/pugl_osx.m b/pugl/pugl_osx.m
index a9e34f0..c087a1c 100644
--- a/pugl/pugl_osx.m
+++ b/pugl/pugl_osx.m
@@ -359,7 +359,7 @@ keySymToSpecial(PuglView* view, NSEvent* ev)
rloc.x,
[[NSScreen mainScreen] frame].size.height - rloc.y,
getModifiers(puglview, event),
- [event buttonNumber] + 1
+ (unsigned)[event buttonNumber] + 1
};
puglDispatchEvent(puglview, (PuglEvent*)&ev);
}
@@ -378,7 +378,7 @@ keySymToSpecial(PuglView* view, NSEvent* ev)
rloc.x,
[[NSScreen mainScreen] frame].size.height - rloc.y,
getModifiers(puglview, event),
- [event buttonNumber] + 1
+ (unsigned)[event buttonNumber] + 1
};
puglDispatchEvent(puglview, (PuglEvent*)&ev);
[self updateTrackingAreas];