mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-08-07 13:54:45 +03:00
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:
parent
13bd1d6006
commit
7eec0dadf7
|
@ -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];
|
||||
|
|
Loading…
Reference in New Issue
Block a user