From 7eec0dadf7680b58026a4f51b63aa0faef8fe066 Mon Sep 17 00:00:00 2001 From: David Joy Date: Fri, 25 Jul 2014 11:17:01 -0400 Subject: [PATCH] Fix failing build on mavericks with clang ``uint` is apparently not a standard type. The c-standard uses ``unsigned int`` --- libImaging/Convert.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libImaging/Convert.c b/libImaging/Convert.c index 4eb106c27..f95cec81f 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; + unsigned int up,uq,ut; int i, x; float f, fs; - uint h,s,v; + unsigned int h,s,v; for (x = 0; x < xsize; x++, in += 4) { h = in[0];