* libltdl/ltdl.c (lt_dlexit): Add casts to fix compilation with

C++ compiler again.
This commit is contained in:
Ralf Wildenhues 2007-02-06 19:00:50 +00:00
parent dd744836ce
commit 713a03c4de
2 changed files with 5 additions and 2 deletions

View File

@ -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>

View 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;
}
}
}