Browse Source

Fixed some compiler warnings

tags/2021-05-28
Tom Poole 4 years ago
parent
commit
8070fa0ec4
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      modules/juce_audio_plugin_client/VST/juce_VST_Wrapper.cpp

+ 2
- 2
modules/juce_audio_plugin_client/VST/juce_VST_Wrapper.cpp View File

@@ -1210,8 +1210,8 @@ public:
auto scale = Desktop::getInstance().getGlobalScaleFactor();
X11Symbols::getInstance()->xResizeWindow (display, (Window) getWindowHandle(),
static_cast<unsigned int> (roundToInt (pos.getWidth() * scale)),
static_cast<unsigned int> (roundToInt (pos.getHeight() * scale)));
static_cast<unsigned int> (roundToInt ((float) pos.getWidth() * scale)),
static_cast<unsigned int> (roundToInt ((float) pos.getHeight() * scale)));
#endif
#if JUCE_MAC


Loading…
Cancel
Save