In article <[email protected]>,
Christos Zoulas <[email protected]> wrote:

>>(note: we've always had this issue, so what, no one has ever tried to
>>modload COMPAT_16 on amd64?)
>
>I would declare getval_unlocked as taking void *symp, remove the cast
>in the call, and change:
>
>       *symp = (void *)es;
>to
>       *(void **)symp = es;
>
>to avoid casting every call...
>

Or even make it Elf_Sym **, and avoid all casts :-)

christos

Reply via email to