latest available sources (March 2008). Still need help finding out, why the resulting plugin is not showing in Firefox-4...
41 lines
1.2 KiB
Text
41 lines
1.2 KiB
Text
--- player/app/plugin/hxbackend.cpp 2007-07-06 16:49:21.000000000 -0400
|
|
+++ player/app/plugin/hxbackend.cpp 2011-06-12 02:24:09.000000000 -0400
|
|
@@ -832,5 +808,5 @@
|
|
nsresult result;
|
|
PRBool retval;
|
|
- char *pMsg;
|
|
+ const char *pMsg;
|
|
int nLen;
|
|
int i;
|
|
--- player/app/plugin/nsHXPlayer.cpp 2008-03-03 15:52:05.000000000 -0500
|
|
+++ player/app/plugin/nsHXPlayer.cpp 2011-06-12 02:57:20.000000000 -0400
|
|
@@ -445,5 +444,5 @@
|
|
char *szEmbedCommand;
|
|
char *pPos;
|
|
- char* szEmbed = "Embed ";
|
|
+ const char* szEmbed = "Embed ";
|
|
nsresult result;
|
|
char *pMsg;
|
|
--- player/app/plugin/plugin.cpp 2007-07-06 16:49:21.000000000 -0400
|
|
+++ player/app/plugin/plugin.cpp 2011-06-12 03:02:14.000000000 -0400
|
|
@@ -114,5 +114,5 @@
|
|
NPError NS_PluginGetValue(NPPVariable aVariable, void *aValue)
|
|
{
|
|
- char* szValue;
|
|
+ const char* szValue;
|
|
|
|
NPError err = NPERR_NO_ERROR;
|
|
@@ -125,5 +125,5 @@
|
|
szValue = PLUGIN_NAME;
|
|
}
|
|
- *((char **)aValue) = szValue;
|
|
+ *((const char **)aValue) = szValue;
|
|
break;
|
|
|
|
@@ -154,5 +154,5 @@
|
|
szValue = szPluginDescription;
|
|
}
|
|
- *((char **)aValue) = szValue;
|
|
+ *((const char **)aValue) = szValue;
|
|
break;
|
|
|