]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* libltdl/ltdl.c (lt_dlexit): Add casts to fix compilation with
authorRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Tue, 6 Feb 2007 19:00:50 +0000 (19:00 +0000)
committerRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Tue, 6 Feb 2007 19:00:50 +0000 (19:00 +0000)
C++ compiler again.

ChangeLog
libltdl/ltdl.c

index d0ebb595fe98d04aa6eba28601633fb481d5b9e5..ff894bc70dc94c194f28f87e8618253a0e8eaccf 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2007-02-06  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
+       * libltdl/ltdl.c (lt_dlexit): Add casts to fix compilation with
+       C++ compiler again.
+
        * tests/destdir.at: Add `libtool' keyword to tests.
 
 2007-02-05  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
index 92f995728fd329b2bd6b289931a56b8c1c3046ee..30def7dc7dd283a454b1c126fe97d86c0fc1201f 100644 (file)
@@ -289,11 +289,11 @@ lt_dlexit (void)
                         pointed to by 'cur'.  */
                      if (cur)
                        {
-                         for (tmp = handles; tmp; tmp = tmp->next)
+                         for (tmp = (lt__handle *) handles; tmp; tmp = tmp->next)
                            if (tmp == cur)
                              break;
                          if (! tmp)
-                           cur = handles;
+                           cur = (lt__handle *) handles;
                        }
                    }
                }