Fix failing build on mavericks with clang

``uint` is apparently not a standard type. The c-standard uses
``unsigned int``
This commit is contained in:
David Joy 2014-07-25 11:17:01 -04:00
parent 13bd1d6006
commit 7eec0dadf7

View File

@ -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];