On Wed, Apr 1, 2015 at 2:13 AM, Vicente Olivert Riera <[email protected]> wrote: > 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?
I don't see that you ever sent an updated patch. Though I do have a vague memory of making the same comment as Keith, I can't find the thread I would have made it in. _______________________________________________ [email protected]: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: http://lists.x.org/mailman/listinfo/xorg-devel
