mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-02-05 03:50:07 +00:00
Clang: Fix warnings when building with clang 10
This commit is contained in:
parent
286bb40a9e
commit
394c4fd475
144 changed files with 896 additions and 839 deletions
|
|
@ -131,10 +131,10 @@ private:
|
|||
setFullScreen (true);
|
||||
Desktop::getInstance().setOrientationsEnabled (Desktop::rotatedClockwise | Desktop::rotatedAntiClockwise);
|
||||
#else
|
||||
setBounds ((int) (0.1f * getParentWidth()),
|
||||
(int) (0.1f * getParentHeight()),
|
||||
jmax (850, (int) (0.5f * getParentWidth())),
|
||||
jmax (600, (int) (0.7f * getParentHeight())));
|
||||
setBounds ((int) (0.1f * (float) getParentWidth()),
|
||||
(int) (0.1f * (float) getParentHeight()),
|
||||
jmax (850, (int) (0.5f * (float) getParentWidth())),
|
||||
jmax (600, (int) (0.7f * (float) getParentHeight())));
|
||||
#endif
|
||||
|
||||
setContentOwned (new MainComponent(), false);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue