mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-02-04 05:34:36 +03:00
Merge pull request #824 from wiredfool/hsv
Incorrect type -- fails on OSX
This commit is contained in:
commit
60696addff
|
@ -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];
|
||||||
|
|
Loading…
Reference in New Issue
Block a user