summaryrefslogtreecommitdiff
path: root/fitzdraw/imageunpack.c
diff options
context:
space:
mode:
Diffstat (limited to 'fitzdraw/imageunpack.c')
-rw-r--r--fitzdraw/imageunpack.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fitzdraw/imageunpack.c b/fitzdraw/imageunpack.c
index dd80ede7..15730479 100644
--- a/fitzdraw/imageunpack.c
+++ b/fitzdraw/imageunpack.c
@@ -48,7 +48,7 @@ static void decodetile(fz_pixmap *pix, int skip, float *decode)
if (justinvert) {
unsigned *wp = (unsigned *)p;
- if ((((unsigned)wp) & 3) == 0) {
+ if (((unsigned long)wp & 3) == 0) {
int hwh = wh / 2;
wh = wh - 2 * hwh;
while(hwh--) {