diff options
author | David Robillard <d@drobilla.net> | 2019-07-26 22:45:16 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2019-07-28 15:01:26 +0200 |
commit | 4c4b388fab18b12c0cc915238f844eb78b9ff21d (patch) | |
tree | ee81758818bb89057cb94feccb927f7593705869 | |
parent | eada1042452e8708ca6c65f7c23ac3c59e4c53f0 (diff) | |
download | pugl-4c4b388fab18b12c0cc915238f844eb78b9ff21d.tar.gz pugl-4c4b388fab18b12c0cc915238f844eb78b9ff21d.tar.bz2 pugl-4c4b388fab18b12c0cc915238f844eb78b9ff21d.zip |
Fix building pugl_cairo_test as C++
-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; |