summaryrefslogtreecommitdiff
path: root/extensions/source/nsplugin/source/npshell.cxx
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:40:46 +0100
commit699b3b662c7879af687412e086de22696ab11573 (patch)
treea8b1c4bda243e4d31706980221062deef8c55e9a /extensions/source/nsplugin/source/npshell.cxx
parentf42948d0df75738594feca81ab9d2eaafada008e (diff)
char* -> const char* for npapis getMIMEDescription to fix build with newer mozs
Diffstat (limited to 'extensions/source/nsplugin/source/npshell.cxx')
-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 7e5749ba9a2a..6d6122834ad2 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);