mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Removed some compiler warnings in VST hosting.
This commit is contained in:
parent
e954a6558b
commit
f5bcfccf6c
1 changed files with 3 additions and 3 deletions
|
|
@ -1198,7 +1198,7 @@ public:
|
|||
|
||||
//==============================================================================
|
||||
int getNumPrograms() { return effect != nullptr ? effect->numPrograms : 0; }
|
||||
int getCurrentProgram() { return dispatch (effGetProgram, 0, 0, 0, 0); }
|
||||
int getCurrentProgram() { return (int) dispatch (effGetProgram, 0, 0, 0, 0); }
|
||||
|
||||
void setCurrentProgram (int newIndex)
|
||||
{
|
||||
|
|
@ -1296,7 +1296,7 @@ public:
|
|||
|
||||
case audioMasterSizeWindow:
|
||||
if (AudioProcessorEditor* ed = getActiveEditor())
|
||||
ed->setSize (index, value);
|
||||
ed->setSize (index, (int) value);
|
||||
|
||||
return 1;
|
||||
|
||||
|
|
@ -1355,7 +1355,7 @@ public:
|
|||
}
|
||||
|
||||
// handles non plugin-specific callbacks..
|
||||
static VstIntPtr handleGeneralCallback (VstInt32 opcode, VstInt32 /*index*/, VstInt32 /*value*/, void *ptr, float /*opt*/)
|
||||
static VstIntPtr handleGeneralCallback (VstInt32 opcode, VstInt32 /*index*/, VstIntPtr /*value*/, void *ptr, float /*opt*/)
|
||||
{
|
||||
switch (opcode)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue