Merge pull request #824 from wiredfool/hsv

Incorrect type -- fails on OSX
This commit is contained in:
wiredfool 2014-07-25 10:53:08 -07:00
commit 60696addff

View File

@ -293,10 +293,10 @@ hsv2rgb(UINT8* out, const UINT8* in, int xsize)
{ // following colorsys.py { // following colorsys.py
int p,q,t; int p,q,t;
uint up,uq,ut; UINT8 up,uq,ut;
int i, x; int i, x;
float f, fs; float f, fs;
uint h,s,v; UINT8 h,s,v;
for (x = 0; x < xsize; x++, in += 4) { for (x = 0; x < xsize; x++, in += 4) {
h = in[0]; h = in[0];