aboutsummaryrefslogtreecommitdiffstats
path: root/pugl_test.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2019-02-15 23:09:26 +0100
committerDavid Robillard <d@drobilla.net>2019-02-16 16:56:50 +0100
commit26e312ac1083987d42cf028ea511b8703c984a7a (patch)
tree0252e4d97dd2795fedc1c0fb52c8b30c74a4ad3c /pugl_test.c
parent539c1ddd4029f4ea62368c45955d0c1f6bca4006 (diff)
downloadpugl-26e312ac1083987d42cf028ea511b8703c984a7a.tar.gz
pugl-26e312ac1083987d42cf028ea511b8703c984a7a.tar.bz2
pugl-26e312ac1083987d42cf028ea511b8703c984a7a.zip
Fix implicit double to int casts
Diffstat (limited to 'pugl_test.c')
-rw-r--r--pugl_test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pugl_test.c b/pugl_test.c
index 0b5c916..de61f61 100644
--- a/pugl_test.c
+++ b/pugl_test.c
@@ -147,7 +147,7 @@ onEvent(PuglView* view, const PuglEvent* event)
case PUGL_NOTHING:
break;
case PUGL_CONFIGURE:
- onReshape(view, event->configure.width, event->configure.height);
+ onReshape(view, (int)event->configure.width, (int)event->configure.height);
break;
case PUGL_EXPOSE:
onDisplay(view);