Commit 95115dab authored by Cheng Sun's avatar Cheng Sun

Fix constness of psz_bgcolor. This fixes a compiler warning.

parent 74799815
......@@ -495,7 +495,7 @@ NPError VlcPluginBase::init(int argc, char* const argn[], char* const argv[])
}
else if( !strcmp( argn[i], "bgcolor" ) )
{
psz_bgcolor = argv[i];
psz_bgcolor = strdup( argv[i] );
}
}
......
......@@ -321,7 +321,7 @@ protected:
/* display settings */
NPWindow npwindow;
char *psz_bgcolor;
const char *psz_bgcolor;
static void eventAsync(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