]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
Fix bug in 2008-04-21 type improvements.
authorEric Blake <ebb9@byu.net>
Thu, 24 Apr 2008 16:05:12 +0000 (10:05 -0600)
committerEric Blake <ebb9@byu.net>
Thu, 24 Apr 2008 16:24:24 +0000 (10:24 -0600)
* libltdl/ltdl.c (load_deplibs): Fix casting bug.

Signed-off-by: Eric Blake <ebb9@byu.net>
ChangeLog
libltdl/ltdl.c

index 9e97b7150817b11ec1d0f7d7ea8539648f0aff13..737c5c80b33b6a4f08c008d2991dd7e38eba8b6a 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2008-04-24  Eric Blake  <ebb9@byu.net>
+
+       Fix bug in 2008-04-21 type improvements.
+       * libltdl/ltdl.c (load_deplibs): Fix casting bug.
+
 2008-04-23  Michael Haubenwallner  <michael.haubenwallner@salomon.at>
 
        Use /nonexistent as destination for files not to be installed.
index c8edcb4400e7a722cbf7c5b996e41d6e1b0ac644..a89c6bb8bb9e7ee990e828c2b64a6cfd034fa8f3 100644 (file)
@@ -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;