diff options
author | Carmelo Amoroso <carmelo.amoroso@st.com> | 2008-03-25 14:40:35 +0000 |
---|---|---|
committer | Carmelo Amoroso <carmelo.amoroso@st.com> | 2008-03-25 14:40:35 +0000 |
commit | 69fa463181d66dc23e61f0cecca8d228bb6bbed2 (patch) | |
tree | 1d2b1accbbff91435b2395ae3a2cc911f6417a0f /ldso | |
parent | d00df20f3ab2dfe40e7c551582b100ea307e8fff (diff) |
Add missing cast in pointer assignment
Diffstat (limited to 'ldso')
-rw-r--r-- | ldso/libdl/libdl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ldso/libdl/libdl.c b/ldso/libdl/libdl.c index 0791bd612..89fd3570d 100644 --- a/ldso/libdl/libdl.c +++ b/ldso/libdl/libdl.c @@ -743,7 +743,7 @@ int dladdr(const void *__address, Dl_info * __info) /* Set the info for the object the address lies in */ __info->dli_fname = pelf->libname; - __info->dli_fbase = pelf->mapaddr; + __info->dli_fbase = (void *)pelf->mapaddr; symtab = (ElfW(Sym) *) (pelf->dynamic_info[DT_SYMTAB]); strtab = (char *) (pelf->dynamic_info[DT_STRTAB]); |