diff options
-rw-r--r-- | test/pugl_cairo_test.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/pugl_cairo_test.c b/test/pugl_cairo_test.c index ef7365f..ad68f3f 100644 --- a/test/pugl_cairo_test.c +++ b/test/pugl_cairo_test.c @@ -101,7 +101,7 @@ buttonTouches(const Button* but, double x, double y) static void onDisplay(PuglView* view) { - cairo_t* cr = puglGetContext(view); + cairo_t* cr = (cairo_t*)puglGetContext(view); // Draw background int width, height; |