Bug 802381 - fix clang build. r=bgirard.

This commit is contained in:
Rafael Ávila de Espíndola 2012-10-16 18:33:47 -04:00
parent 39fec17699
commit 350b1368af

View File

@ -447,7 +447,7 @@ PluginInstanceParent::AnswerNPN_SetValue_NPPVpluginEventModel(
{
#ifdef XP_MACOSX
*result = mNPNIface->setvalue(mNPP, NPPVpluginEventModel,
(void*)eventModel);
(void*)(intptr_t)eventModel);
return true;
#else
*result = NPERR_GENERIC_ERROR;