From 26e312ac1083987d42cf028ea511b8703c984a7a Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 15 Feb 2019 23:09:26 +0100 Subject: Fix implicit double to int casts --- pugl_test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pugl_test.c') 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); -- cgit v1.2.1