1
0
Fork 0
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:
Julian Storer 2010-01-21 19:35:00 +00:00
parent 1674e4f04f
commit 87a7086e2b
3 changed files with 3 additions and 3 deletions

View file

@ -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;