summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/xine/alphablend.h2
-rw-r--r--src/xine-engine/alphablend.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/include/xine/alphablend.h b/include/xine/alphablend.h
index 6df5ad809..f4aeb442f 100644
--- a/include/xine/alphablend.h
+++ b/include/xine/alphablend.h
@@ -106,7 +106,7 @@ void _x_dispose_xx44_palette(xx44_palette_t *p) XINE_PROTECTED;
void _x_xx44_to_xvmc_palette(const xx44_palette_t *p,unsigned char *xvmc_palette,
unsigned first_xx44_entry, unsigned num_xx44_entries,
- unsigned num_xvmc_components, char *xvmc_components) XINE_PROTECTED;
+ unsigned num_xvmc_components, const char *xvmc_components) XINE_PROTECTED;
#endif
diff --git a/src/xine-engine/alphablend.c b/src/xine-engine/alphablend.c
index db43fd53a..6e7191ed2 100644
--- a/src/xine-engine/alphablend.c
+++ b/src/xine-engine/alphablend.c
@@ -1923,7 +1923,7 @@ void _x_dispose_xx44_palette(xx44_palette_t *p)
}
static void colorToPalette(const uint32_t *icolor, unsigned char *palette_p,
- unsigned num_xvmc_components, char *xvmc_components)
+ unsigned num_xvmc_components, const char *xvmc_components)
{
const clut_t *color = (const clut_t *) icolor;
unsigned int i;
@@ -1941,7 +1941,7 @@ static void colorToPalette(const uint32_t *icolor, unsigned char *palette_p,
void _x_xx44_to_xvmc_palette(const xx44_palette_t *p,unsigned char *xvmc_palette,
unsigned first_xx44_entry, unsigned num_xx44_entries,
- unsigned num_xvmc_components, char *xvmc_components)
+ unsigned num_xvmc_components, const char *xvmc_components)
{
register unsigned int i;
register const uint32_t *cluts = p->cluts + first_xx44_entry;