Hello,

On 01/08/2015 10:36 PM, Keith Packard wrote:
> Vicente Olivert Riera <[email protected]> writes:
> 
>> Making the cast to a pointer-sized integer, and then to a pointer fixes
>> the problem.
> 
>> -        if (dladdr((void *)(pip.start_ip + off), &dlinfo) && 
>> dlinfo.dli_fname &&
>> +        if (dladdr((void *)(long)(pip.start_ip + off), &dlinfo) && 
>> dlinfo.dli_fname &&
> 
> I'd suggest using uintptr_t instead of long if you want a pointer-sized
> integer.
> 

out of curiosity. Why is taking so long for this patch to be applied
upstream?

Regards,
-- 
Vicente Olivert Riera
Graduate Software Engineer, MIPS Platforms
Imagination Technologies Limited
t: +44 (0)113 2429814
www.imgtec.com
_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to