Kaydet (Commit) 699b3b66 authored tarafından Rene Engelhard's avatar Rene Engelhard

char* -> const char* for npapis getMIMEDescription to fix build with newer mozs

üst f42948d0
...@@ -361,7 +361,7 @@ MIMETYPE_OASIS_OPENDOCUMENT_PRESENTATION_ASCII ":odp:OpenDocument Presentation;" ...@@ -361,7 +361,7 @@ MIMETYPE_OASIS_OPENDOCUMENT_PRESENTATION_ASCII ":odp:OpenDocument Presentation;"
MIMETYPE_OASIS_OPENDOCUMENT_PRESENTATION_TEMPLATE_ASCII ":otp:OpenDocument Presentation Template;" MIMETYPE_OASIS_OPENDOCUMENT_PRESENTATION_TEMPLATE_ASCII ":otp:OpenDocument Presentation Template;"
MIMETYPE_OASIS_OPENDOCUMENT_FORMULA_ASCII ":odf:OpenDocument Formula;" ); MIMETYPE_OASIS_OPENDOCUMENT_FORMULA_ASCII ":odf:OpenDocument Formula;" );
char* const char*
NPP_GetMIMEDescription(void) NPP_GetMIMEDescription(void)
{ {
debug_fprintf(NSP_LOG_APPEND, "print by Netscape Plugin, NPP_GetMIMEDescription:%s.\n", pMimeTypes); debug_fprintf(NSP_LOG_APPEND, "print by Netscape Plugin, NPP_GetMIMEDescription:%s.\n", pMimeTypes);
......
...@@ -784,7 +784,7 @@ extern "C" { ...@@ -784,7 +784,7 @@ extern "C" {
/* NPP_* functions are provided by the plugin and called by the navigator. */ /* NPP_* functions are provided by the plugin and called by the navigator. */
char* NPP_GetMIMEDescription(void); const char* NPP_GetMIMEDescription(void);
NPError NP_LOADDS NPP_New(NPMIMEType pluginType, NPP instance, NPError NP_LOADDS NPP_New(NPMIMEType pluginType, NPP instance,
uint16_t mode, int16_t argc, char* argn[], uint16_t mode, int16_t argc, char* argn[],
char* argv[], NPSavedData* saved); char* argv[], NPSavedData* saved);
......
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