fix compile on ppc (big endian) systems
This commit is contained in:
parent
1d87b2b61e
commit
f8e2a3ed1b
1 changed files with 1 additions and 1 deletions
|
@ -284,7 +284,7 @@ public:
|
|||
{
|
||||
|
||||
#ifdef MAPNIK_BIG_ENDIAN
|
||||
unsigned a1 = (int)((rgba1 & 0xff) * opacity) & 0xff; // adjust for desired opacity
|
||||
unsigned a = (int)((rgba1 & 0xff) * opacity) & 0xff; // adjust for desired opacity
|
||||
#else
|
||||
unsigned a = (int)(((rgba1 >> 24) & 0xff) * opacity) & 0xff; // adjust for desired opacity
|
||||
#endif
|
||||
|
|
Loading…
Add table
Reference in a new issue