diff options
Diffstat (limited to 'sysdeps/unix')
-rw-r--r-- | sysdeps/unix/sysv/linux/i386/dl-librecon.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sysdeps/unix/sysv/linux/i386/dl-librecon.h b/sysdeps/unix/sysv/linux/i386/dl-librecon.h index 4ae2e87..84b4396 100644 --- a/sysdeps/unix/sysv/linux/i386/dl-librecon.h +++ b/sysdeps/unix/sysv/linux/i386/dl-librecon.h @@ -33,8 +33,7 @@ const ElfW(Dyn) *d; \ const char *strtab; \ \ - strtab = ((void *) _dl_loaded->l_addr \ - + _dl_loaded->l_info[DT_STRTAB]->d_un.d_ptr); \ + strtab = (const char *) _dl_loaded->l_info[DT_STRTAB]->d_un.d_ptr; \ \ for (d = _dl_loaded->l_ld; d->d_tag != DT_NULL; ++d) \ if (d->d_tag == DT_NEEDED \ |