aboutsummaryrefslogtreecommitdiff
path: root/system/image/pdp_llconv.c
diff options
context:
space:
mode:
authorTom Schouten <doelie@users.sourceforge.net>2011-11-28 21:10:19 +0000
committerTom Schouten <doelie@users.sourceforge.net>2011-11-28 21:10:19 +0000
commit5d85bb9b5b27a938f94ec93780a64fe0057b842d (patch)
treec9cb2d3db6f447db73a45d9d05d0f3079ad8205c /system/image/pdp_llconv.c
parent2c0fbbc820e98e404caf49f40fe7e0431cbaa1cd (diff)
pdp: merge with zwizwa darcs
svn path=/trunk/externals/pdp/; revision=15799
Diffstat (limited to 'system/image/pdp_llconv.c')
-rw-r--r--system/image/pdp_llconv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/image/pdp_llconv.c b/system/image/pdp_llconv.c
index 7826cfa..e6381fc 100644
--- a/system/image/pdp_llconv.c
+++ b/system/image/pdp_llconv.c
@@ -69,7 +69,7 @@ static inline int rgb2u(int r, int g, int b)
/* swap top to bottom */
static inline void _exchange_row(char *row1, char *row2, int size)
{
- int mask = ~(sizeof(int)-1);
+ int mask = ~((unsigned int)sizeof(int)-1);
int *irow1 = (int *)row1;
int *irow2 = (int *)row2;