[cairo] fix alignment issue on SPARC processors

Uli Schlachter psychon at znc.in
Sat Dec 6 01:32:11 PST 2014


Am 06.12.2014 um 09:55 schrieb Bryce Harrington:
> On Sat, Dec 06, 2014 at 12:52:07AM -0800, Bryce Harrington wrote:
>>> -    pool->current = pool->sentinel;
>>> -    pool->sentinel->size = 0;
>>> +    pool->current = (void *) &pool->sentinel[0];
>>> +    pool->current->size = 0;
>>
>> This is intentional to set the current chunk's size to 0?
> 
> Ah, just realized after replying that the pointers are pointing to the
> same thing so the before and after lines do exactly the same thing.  So
> nevermind!
> 
>  
>> Assuming it is, 
>>
>> Reviewed-by: Bryce Harrington <bryce at osg.samsung.com>

Thanks a lot, improved version pushed to master & 1.14.

Cheers,
Uli
-- 
If you have to type the letters "A-E-S" into your source code, you're doing it
wrong.


More information about the cairo mailing list