Commit 443b94dc authored by Jean-Paul Saman's avatar Jean-Paul Saman

mozilla: use correct cast for VlcPlugin *

(cherry picked from commit 893a64a4)
parent 68319710
...@@ -167,8 +167,7 @@ int16 NPP_HandleEvent( NPP instance, void * event ) ...@@ -167,8 +167,7 @@ int16 NPP_HandleEvent( NPP instance, void * event )
return false; return false;
} }
VlcPlugin *p_plugin = (VlcPlugin*)instance->pdata; VlcPlugin* p_plugin = reinterpret_cast<VlcPlugin*>(instance->pdata);
if( p_plugin == NULL ) if( p_plugin == NULL )
{ {
return false; return false;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment