[cairo] Inline functions changing their arguments

Soeren Sandmann sandmann at daimi.au.dk
Tue Sep 9 08:09:33 PDT 2008

Hi André,

It turns out that passing pointers to the inline functions means they
can actually change their arguments, and over_2x128() does actually
change its alpha arguments, which is a problem in the case where alpha
is constant. See bug 17477.

Does this patch looks right to youj, and do you know if we might have
the same problem in other places?


-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Fix-for-bug-17477.patch
Type: text/x-patch
Size: 0 bytes
Desc: The patch
Url : http://lists.cairographics.org/archives/cairo/attachments/20080909/c674608f/attachment.bin 

More information about the cairo mailing list