summaryrefslogtreecommitdiff
path: root/np_sdk
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 /np_sdk
parentf42948d0df75738594feca81ab9d2eaafada008e (diff)
char* -> const char* for npapis getMIMEDescription to fix build with newer mozs
Diffstat (limited to 'np_sdk')
-rw-r--r--np_sdk/inc/npapi.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/np_sdk/inc/npapi.h b/np_sdk/inc/npapi.h
index 7db99814b73a..0a2d5650646e 100644
--- a/np_sdk/inc/npapi.h
+++ b/np_sdk/inc/npapi.h
@@ -784,7 +784,7 @@ extern "C" {
/* 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,
uint16_t mode, int16_t argc, char* argn[],
char* argv[], NPSavedData* saved);