From Fedora Project Wiki
--- src/mozilla-plugin/openvrml.cpp 2011-02-02 05:31:34.000000000 +0100 +++ src/mozilla-plugin/openvrml.cpp 2012-02-20 13:13:53.726692923 +0100 @@ -216,7 +216,7 @@ { } -char * NP_GetMIMEDescription() +const char * NP_GetMIMEDescription() { return NPP_GetMIMEDescription(); } @@ -381,13 +381,13 @@ return err; } -char * NPP_GetMIMEDescription() +const char * NPP_GetMIMEDescription() { static const char mimeDescription[] = "model/x3d-vrml:x3dv:X3D world;" "model/vrml:wrl:VRML world;" "x-world/x-vrml:wrl:VRML world"; - return const_cast<char *>(&mimeDescription[0]); + return mimeDescription; } /**