summaryrefslogtreecommitdiff
path: root/extensions
diff options
context:
space:
mode:
authorRene Engelhard <rene@debian.org>2012-02-17 15:40:37 +0100
committerRene Engelhard <rene@debian.org>2012-02-17 16:43:38 +0100
commite46472ae2e4eea0e201565fb8dd7bdcb59ef9c28 (patch)
tree9b91901b975383a0f6f1e3c01c2341c6da56ccb2 /extensions
parentb948b1ec30e2001fe2386f70510c64ed9f19270c (diff)
char* -> const char* for npapis getMIMEDescription to fix build with newer mozs
Diffstat (limited to 'extensions')
-rw-r--r--extensions/source/nsplugin/source/npshell.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/extensions/source/nsplugin/source/npshell.cxx b/extensions/source/nsplugin/source/npshell.cxx
index 134ee3677e30..e25326fa054f 100644
--- a/extensions/source/nsplugin/source/npshell.cxx
+++ b/extensions/source/nsplugin/source/npshell.cxx
@@ -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_FORMULA_ASCII ":odf:OpenDocument Formula;" );
-char*
+const char*
NPP_GetMIMEDescription(void)
{
debug_fprintf(NSP_LOG_APPEND, "print by Netscape Plugin, NPP_GetMIMEDescription:%s.\n", pMimeTypes);