From 5d85bb9b5b27a938f94ec93780a64fe0057b842d Mon Sep 17 00:00:00 2001 From: Tom Schouten Date: Mon, 28 Nov 2011 21:10:19 +0000 Subject: pdp: merge with zwizwa darcs svn path=/trunk/externals/pdp/; revision=15799 --- system/image/pdp_llconv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'system/image/pdp_llconv.c') 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; -- cgit v1.2.1