diff --git a/source/utils/CarlaPluginUI.cpp b/source/utils/CarlaPluginUI.cpp index 38b869323..3dee42a6f 100644 --- a/source/utils/CarlaPluginUI.cpp +++ b/source/utils/CarlaPluginUI.cpp @@ -326,7 +326,7 @@ public: if (XGetNormalHints(fDisplay, fChildWindow, &sizeHints)) XSetNormalHints(fDisplay, fHostWindow, &sizeHints); - XResizeWindow(fDisplay, fHostWindow, nextWidth, nextHeight); + XResizeWindow(fDisplay, fHostWindow, static_cast(nextWidth), static_cast(nextHeight)); XFlush(fDisplay); }