mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Increased the Xcode warning level for some demo code and fixed resulting warnings
This commit is contained in:
parent
d3c9577668
commit
7bc75e24c1
8 changed files with 22 additions and 21 deletions
|
|
@ -69,7 +69,7 @@ struct CodeContent : public Component
|
|||
codeEditor.setScrollbarThickness (8);
|
||||
|
||||
lookAndFeelChanged();
|
||||
};
|
||||
}
|
||||
|
||||
void resized() override
|
||||
{
|
||||
|
|
@ -135,7 +135,7 @@ void DemoContentComponent::setDemo (const String& category, int selectedDemoInde
|
|||
&& (currentDemoIndex == selectedDemoIndex))
|
||||
return;
|
||||
|
||||
auto demo = JUCEDemos::getCategory (category).demos[selectedDemoIndex];
|
||||
auto demo = JUCEDemos::getCategory (category).demos[(size_t) selectedDemoIndex];
|
||||
|
||||
#if ! (JUCE_ANDROID || JUCE_IOS)
|
||||
codeContent->document.replaceAllContent (trimPIP (demo.demoFile.loadFileAsString()));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue