aboutsummaryrefslogtreecommitdiffstats
path: root/pugl/detail/mac_cairo.m
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2020-07-02 23:13:55 +0200
committerDavid Robillard <d@drobilla.net>2020-07-02 23:13:55 +0200
commitdaa0f2724d56a4cfc787d33c78cce48f844de587 (patch)
tree8c5dcc9a12231f1edab44c27a22360aa266630f6 /pugl/detail/mac_cairo.m
parent5182a0348e99e8793f0e0230254eb7ddbc8a3dfd (diff)
downloadpugl-daa0f2724d56a4cfc787d33c78cce48f844de587.tar.gz
pugl-daa0f2724d56a4cfc787d33c78cce48f844de587.tar.bz2
pugl-daa0f2724d56a4cfc787d33c78cce48f844de587.zip
Mac: Fix implicit conversion warnings
Diffstat (limited to 'pugl/detail/mac_cairo.m')
-rw-r--r--pugl/detail/mac_cairo.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/pugl/detail/mac_cairo.m b/pugl/detail/mac_cairo.m
index ddb82bd..dd7f0b9 100644
--- a/pugl/detail/mac_cairo.m
+++ b/pugl/detail/mac_cairo.m
@@ -115,7 +115,7 @@ puglMacCairoEnter(PuglView* view, const PuglEventExpose* expose)
CGContextScaleCTM(context, scale, -scale);
drawView->surface = cairo_quartz_surface_create_for_cg_context(
- context, sizePx.width, sizePx.height);
+ context, (unsigned)sizePx.width, (unsigned)sizePx.height);
drawView->cr = cairo_create(drawView->surface);