From: Ralf Wildenhues Date: Tue, 6 Feb 2007 19:00:50 +0000 (+0000) Subject: * libltdl/ltdl.c (lt_dlexit): Add casts to fix compilation with X-Git-Tag: release-2-1b~209 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=713a03c4de6fe7334717a5458ca4e93e6f9b062e;p=thirdparty%2Flibtool.git * libltdl/ltdl.c (lt_dlexit): Add casts to fix compilation with C++ compiler again. --- diff --git a/ChangeLog b/ChangeLog index d0ebb595f..ff894bc70 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2007-02-06 Ralf Wildenhues + * 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 diff --git a/libltdl/ltdl.c b/libltdl/ltdl.c index 92f995728..30def7dc7 100644 --- a/libltdl/ltdl.c +++ b/libltdl/ltdl.c @@ -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; } } }