summaryrefslogtreecommitdiff
path: root/ldso/libdl/libdl.c
diff options
context:
space:
mode:
authorCarmelo Amoroso <carmelo.amoroso@st.com>2008-03-25 14:40:35 +0000
committerCarmelo Amoroso <carmelo.amoroso@st.com>2008-03-25 14:40:35 +0000
commit69fa463181d66dc23e61f0cecca8d228bb6bbed2 (patch)
tree1d2b1accbbff91435b2395ae3a2cc911f6417a0f /ldso/libdl/libdl.c
parentd00df20f3ab2dfe40e7c551582b100ea307e8fff (diff)
Add missing cast in pointer assignment
Diffstat (limited to 'ldso/libdl/libdl.c')
-rw-r--r--ldso/libdl/libdl.c2
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]);