svn commit: trunk/uClibc/ldso/libdl

carmelo at uclibc.org carmelo at uclibc.org
Tue Mar 25 14:40:36 UTC 2008


Author: carmelo
Date: 2008-03-25 07:40:35 -0700 (Tue, 25 Mar 2008)
New Revision: 21493

Log:
Add missing cast in pointer assignment

Modified:
   trunk/uClibc/ldso/libdl/libdl.c


Changeset:
Modified: trunk/uClibc/ldso/libdl/libdl.c
===================================================================
--- trunk/uClibc/ldso/libdl/libdl.c	2008-03-25 14:38:45 UTC (rev 21492)
+++ trunk/uClibc/ldso/libdl/libdl.c	2008-03-25 14:40:35 UTC (rev 21493)
@@ -743,7 +743,7 @@
 
 		/* 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]);




More information about the uClibc-cvs mailing list