diff --git a/extras/audio plugins/wrapper/RTAS/juce_RTAS_WinUtilities.cpp b/extras/audio plugins/wrapper/RTAS/juce_RTAS_WinUtilities.cpp index f3212cf31d..24f639d143 100644 --- a/extras/audio plugins/wrapper/RTAS/juce_RTAS_WinUtilities.cpp +++ b/extras/audio plugins/wrapper/RTAS/juce_RTAS_WinUtilities.cpp @@ -51,7 +51,7 @@ void JUCE_CALLTYPE attachSubWindow (void* hostWindow, GetClientRect ((HWND) hostWindow, &clientRect); titleW = clientRect.right - clientRect.left; - titleH = jmax (0, (clientRect.bottom - clientRect.top) - comp->getHeight()); + titleH = jmax (0, (int) (clientRect.bottom - clientRect.top) - comp->getHeight()); comp->setTopLeftPosition (0, titleH); comp->addToDesktop (0); diff --git a/extras/audio plugins/wrapper/VST/juce_VST_Wrapper.cpp b/extras/audio plugins/wrapper/VST/juce_VST_Wrapper.cpp index 97c1fea108..807e6826ab 100644 --- a/extras/audio plugins/wrapper/VST/juce_VST_Wrapper.cpp +++ b/extras/audio plugins/wrapper/VST/juce_VST_Wrapper.cpp @@ -1087,7 +1087,7 @@ public: // hope so) we'll give it a while and then free it in the timer callback. chunkMemoryTime = JUCE_NAMESPACE::Time::getApproximateMillisecondCounter(); - return chunkMemory.getSize(); + return (VstInt32) chunkMemory.getSize(); } VstInt32 setChunk (void* data, VstInt32 byteSize, bool onlyRestoreCurrentProgramData) diff --git a/extras/browser plugins/wrapper/juce_NPAPI_GlueCode.cpp b/extras/browser plugins/wrapper/juce_NPAPI_GlueCode.cpp index 8453e7ae53..e19a93c7e4 100644 --- a/extras/browser plugins/wrapper/juce_NPAPI_GlueCode.cpp +++ b/extras/browser plugins/wrapper/juce_NPAPI_GlueCode.cpp @@ -174,7 +174,7 @@ NPError OSCALL NP_Initialize (NPNetscapeFuncs* funcs return NPERR_INCOMPATIBLE_VERSION_ERROR; zerostruct (browser); - memcpy (&browser, funcs, jmin (funcs->size, sizeof (browser))); + memcpy (&browser, funcs, jmin ((size_t) funcs->size, sizeof (browser))); #ifdef XP_UNIX pluginFuncs->version = (NP_VERSION_MAJOR << 8) + NP_VERSION_MINOR;