From 27cf4cc94874faf34c461e2f745a917d3c98b095 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Diego=20=27Flameeyes=27=20Petten=C3=B2?= Date: Tue, 20 Jun 2006 00:35:07 +0000 Subject: Fix generic warnings. CVS patchset: 8063 CVS date: 2006/06/20 00:35:07 --- src/xine-engine/alphablend.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/xine-engine/alphablend.c') diff --git a/src/xine-engine/alphablend.c b/src/xine-engine/alphablend.c index 8d10d0414..b38042369 100644 --- a/src/xine-engine/alphablend.c +++ b/src/xine-engine/alphablend.c @@ -1895,7 +1895,7 @@ static void colorToPalette(const uint32_t *icolor, unsigned char *palette_p, unsigned num_xvmc_components, char *xvmc_components) { const clut_t *color = (const clut_t *) icolor; - int i; + unsigned int i; for (i=0; icr; break; @@ -1903,7 +1903,7 @@ static void colorToPalette(const uint32_t *icolor, unsigned char *palette_p, case 'Y': default: *palette_p = color->y; break; } - *palette_p++; + palette_p++; } } @@ -1912,7 +1912,7 @@ 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) { - register int i; + register unsigned int i; register const uint32_t *cluts = p->cluts + first_xx44_entry; for (i=0; icluts; register int tmp; -- cgit v1.2.3