summaryrefslogtreecommitdiff
path: root/xps/xps_tiff.c
diff options
context:
space:
mode:
Diffstat (limited to 'xps/xps_tiff.c')
-rw-r--r--xps/xps_tiff.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/xps/xps_tiff.c b/xps/xps_tiff.c
index 13c4d7f1..d946434f 100644
--- a/xps/xps_tiff.c
+++ b/xps/xps_tiff.c
@@ -303,8 +303,8 @@ xps_expand_tiff_colormap(struct tiff *tiff)
int maxval = 1 << tiff->bitspersample;
byte *samples;
byte *src, *dst;
- int stride;
- int x, y;
+ unsigned int x, y;
+ unsigned int stride;
/* colormap has first all red, then all green, then all blue values */
/* colormap values are 0..65535, bits is 4 or 8 */