[cairo] Typo in pixman-edge.c?

Soeren Sandmann sandmann at daimi.au.dk
Mon Mar 15 05:11:16 PDT 2010


Hi,

> I noticed that pixman-edge.c has the following macro definition:
> 
> #ifndef WORDS_BIG_ENDIAN
> #define SHIFT_4(o)      ((o) << 2)
> #else
> #define SHIFT_4(o)      ((1 - (o)) << 2)
> #endif 
> 
> I think the condition should be
> 
> #ifndef WORDS_BIGENDIAN

Good catch, fixed in master.


Thanks,
Soren



More information about the cairo mailing list