Applied to HEAD.
2007-02-06 Ralf Wildenhues <[EMAIL PROTECTED]>
* libltdl/ltdl.c (lt_dlexit): Add casts to fix compilation with
C++ compiler again.
Index: libltdl/ltdl.c
===================================================================
RCS file: /cvsroot/libtool/libtool/libltdl/ltdl.c,v
retrieving revision 1.246
diff -u -r1.246 ltdl.c
--- libltdl/ltdl.c 28 Jan 2007 14:55:01 -0000 1.246
+++ libltdl/ltdl.c 6 Feb 2007 19:00:14 -0000
@@ -289,11 +289,11 @@
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;
}
}
}