aboutsummaryrefslogtreecommitdiffstats
path: root/pugl/detail/x11_cairo.c
diff options
context:
space:
mode:
Diffstat (limited to 'pugl/detail/x11_cairo.c')
-rw-r--r--pugl/detail/x11_cairo.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/pugl/detail/x11_cairo.c b/pugl/detail/x11_cairo.c
index 1867007..d5e2ed7 100644
--- a/pugl/detail/x11_cairo.c
+++ b/pugl/detail/x11_cairo.c
@@ -55,8 +55,8 @@ static int
puglX11CairoCreate(PuglView* view)
{
PuglInternals* const impl = view->impl;
- const double width = view->width;
- const double height = view->height;
+ const int width = view->width;
+ const int height = view->height;
PuglX11CairoSurface surface = { 0 };
surface.back = cairo_xlib_surface_create(