Bug 781545 - Fix PluginInstanceParent.cpp build with GCC 4.6 - r=bsmedberg

This commit is contained in:
Benoit Jacob 2012-08-09 11:44:35 -04:00
parent dc0b9aab51
commit 802d05cfee

View File

@ -450,7 +450,7 @@ PluginInstanceParent::AnswerNPN_SetValue_NPPVpluginDrawingModel(
mDrawingModel = drawingModel;
*result = mNPNIface->setvalue(mNPP, NPPVpluginDrawingModel,
(void*)drawingModel);
(void*)(intptr_t)drawingModel);
if (mRemoteImageDataShmem.IsWritable()) {
container->SetRemoteImageData(nullptr, nullptr);