aboutsummaryrefslogtreecommitdiffstats
path: root/pugl/pugl_x11.c
diff options
context:
space:
mode:
Diffstat (limited to 'pugl/pugl_x11.c')
-rw-r--r--pugl/pugl_x11.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/pugl/pugl_x11.c b/pugl/pugl_x11.c
index 3a8cead..2755aa0 100644
--- a/pugl/pugl_x11.c
+++ b/pugl/pugl_x11.c
@@ -493,8 +493,8 @@ puglProcessEvents(PuglView* view)
if (config_event.type) {
// Resize drawing context before dispatching
view->impl->ctx.resize(view,
- config_event.configure.width,
- config_event.configure.height);
+ (int)config_event.configure.width,
+ (int)config_event.configure.height);
puglDispatchEvent(view, (const PuglEvent*)&config_event);
}