mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-02-05 03:50:07 +00:00
Tidied up some compiler warnings in the plugin wrapper code.
This commit is contained in:
parent
1674e4f04f
commit
87a7086e2b
3 changed files with 3 additions and 3 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue