From: Eric Blake Date: Thu, 24 Apr 2008 16:05:12 +0000 (-0600) Subject: Fix bug in 2008-04-21 type improvements. X-Git-Tag: v2.2.4~10 X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=fe9c6440a352de1d7b2d148fd4393c669927ac82;p=thirdparty%2Flibtool.git Fix bug in 2008-04-21 type improvements. * libltdl/ltdl.c (load_deplibs): Fix casting bug. Signed-off-by: Eric Blake --- diff --git a/ChangeLog b/ChangeLog index 9e97b7150..737c5c80b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2008-04-24 Eric Blake + + Fix bug in 2008-04-21 type improvements. + * libltdl/ltdl.c (load_deplibs): Fix casting bug. + 2008-04-23 Michael Haubenwallner Use /nonexistent as destination for files not to be installed. diff --git a/libltdl/ltdl.c b/libltdl/ltdl.c index c8edcb440..a89c6bb8b 100644 --- a/libltdl/ltdl.c +++ b/libltdl/ltdl.c @@ -353,7 +353,7 @@ static int tryall_dlopen (lt_dlhandle *phandle, const char *filename, lt_dladvise advise, const lt_dlvtable *vtable) { - lt_dlhandle handle = handles; + lt_dlhandle handle = handles; const char * saved_error = 0; int errors = 0; @@ -921,7 +921,7 @@ load_deplibs (lt_dlhandle handle, char *deplibs) lt_dlhandle cur = handle; int j = 0; - cur->deplibs = (lt_dlhandle) MALLOC (struct lt__handle, depcount); + cur->deplibs = MALLOC (lt_dlhandle, depcount); if (!cur->deplibs) goto cleanup_names;