* libltdl/ltdl.c (loader_init_callback, lt_dlexit): Add casts to

target type.
This commit is contained in:
Ralf Wildenhues 2004-11-01 11:26:29 +00:00
parent 8024c55497
commit d8df98d4c5
2 changed files with 5 additions and 2 deletions

View File

@ -1,5 +1,8 @@
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
to shift is non-portable.

View File

@ -153,7 +153,7 @@ lt__alloc_die_callback (void)
static int
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
@ -283,7 +283,7 @@ lt_dlexit (void)
lt_dlloader *next = lt_dlloader_next (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);
}