diff options
Diffstat (limited to 'pugl/pugl_internal.h')
-rw-r--r-- | pugl/pugl_internal.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pugl/pugl_internal.h b/pugl/pugl_internal.h index ce79d2a..2b09761 100644 --- a/pugl/pugl_internal.h +++ b/pugl/pugl_internal.h @@ -196,8 +196,8 @@ puglDispatchEvent(PuglView* view, const PuglEvent* event) case PUGL_NOTHING: break; case PUGL_CONFIGURE: - view->width = event->configure.width; - view->height = event->configure.height; + view->width = (int)event->configure.width; + view->height = (int)event->configure.height; puglEnterContext(view); view->eventFunc(view, event); puglLeaveContext(view, false); |