Commit b224099e authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Fix compilation on Linux with recent headers

parent 99ae470a
......@@ -767,7 +767,7 @@ Private_GetJavaClass(void)
* - Netscape uses the return value to identify when an object instance
* of this plugin should be created.
*/
char *
const char *
NP_GetMIMEDescription(void)
{
return NPP_GetMIMEDescription();
......
......@@ -66,7 +66,7 @@ static LRESULT CALLBACK Manage( HWND p_hwnd, UINT i_msg, WPARAM wpar, LPARAM lpa
/******************************************************************************
* UNIX-only API calls
*****************************************************************************/
char * NPP_GetMIMEDescription( void )
const char * NPP_GetMIMEDescription( void )
{
return mimetype;
}
......
......@@ -24,7 +24,7 @@
#ifndef __VLCSHELL_H__
#define __VLCSHELL_H__
char * NPP_GetMIMEDescription( void );
const char * NPP_GetMIMEDescription( void );
NPError NPP_Initialize( void );
......
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