mirror of
git://git.savannah.gnu.org/libtool.git
synced 2025-01-12 14:06:37 +08:00
* libltdl/ltdl.c (loader_init_callback, lt_dlexit): Add casts to
target type.
This commit is contained in:
parent
8024c55497
commit
d8df98d4c5
@ -1,5 +1,8 @@
|
|||||||
2004-10-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
|
2004-10-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
|
||||||
|
|
||||||
|
* libltdl/ltdl.c (loader_init_callback, lt_dlexit): Add casts to
|
||||||
|
target type.
|
||||||
|
|
||||||
* tests/defs.m4sh (func_exec): `shift'ing when there is nothing
|
* tests/defs.m4sh (func_exec): `shift'ing when there is nothing
|
||||||
to shift is non-portable.
|
to shift is non-portable.
|
||||||
|
|
||||||
|
@ -153,7 +153,7 @@ lt__alloc_die_callback (void)
|
|||||||
static int
|
static int
|
||||||
loader_init_callback (lt_dlhandle handle)
|
loader_init_callback (lt_dlhandle handle)
|
||||||
{
|
{
|
||||||
return loader_init (lt_dlsym (handle, "get_vtable"), 0);
|
return loader_init ((lt_get_vtable *) lt_dlsym (handle, "get_vtable"), 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int
|
||||||
@ -283,7 +283,7 @@ lt_dlexit (void)
|
|||||||
lt_dlloader *next = lt_dlloader_next (loader);
|
lt_dlloader *next = lt_dlloader_next (loader);
|
||||||
lt_dlvtable *vtable = (lt_dlvtable *) lt_dlloader_get (loader);
|
lt_dlvtable *vtable = (lt_dlvtable *) lt_dlloader_get (loader);
|
||||||
|
|
||||||
if ((vtable = lt_dlloader_remove (vtable->name)))
|
if ((vtable = lt_dlloader_remove ((char *) vtable->name)))
|
||||||
{
|
{
|
||||||
FREE (vtable);
|
FREE (vtable);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user