[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
FYI: missing casts for g++ in libltdl
From: |
Ralf Wildenhues |
Subject: |
FYI: missing casts for g++ in libltdl |
Date: |
Tue, 6 Feb 2007 20:00:17 +0100 |
User-agent: |
Mutt/1.5.13 (2006-08-11) |
Applied to HEAD.
2007-02-06 Ralf Wildenhues <address@hidden>
* 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;
}
}
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- FYI: missing casts for g++ in libltdl,
Ralf Wildenhues <=