From 023ec0a2fc3d92fc12c1eeb60a8539662582add6 Mon Sep 17 00:00:00 2001 From: wiredfool Date: Fri, 25 Jul 2014 10:32:55 -0700 Subject: [PATCH] Incorrect type -- fails on OSX --- libImaging/Convert.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libImaging/Convert.c b/libImaging/Convert.c index 4eb106c27..46a6cfb72 100644 --- a/libImaging/Convert.c +++ b/libImaging/Convert.c @@ -293,10 +293,10 @@ hsv2rgb(UINT8* out, const UINT8* in, int xsize) { // following colorsys.py int p,q,t; - uint up,uq,ut; + UINT8 up,uq,ut; int i, x; float f, fs; - uint h,s,v; + UINT8 h,s,v; for (x = 0; x < xsize; x++, in += 4) { h = in[0];