diff -r 096d83158d41 -r 81b47fc5c444 lemon/bits/edge_set_extender.h --- a/lemon/bits/edge_set_extender.h Fri Mar 02 17:56:22 2007 +0000 +++ b/lemon/bits/edge_set_extender.h Fri Mar 02 18:04:28 2007 +0000 @@ -189,28 +189,28 @@ /// /// Returns the base node (ie. the source in this case) of the iterator Node baseNode(const OutEdgeIt &e) const { - return Parent::source((Edge)e); + return Parent::source(static_cast(e)); } /// \brief Running node of the iterator /// /// Returns the running node (ie. the target in this case) of the /// iterator Node runningNode(const OutEdgeIt &e) const { - return Parent::target((Edge)e); + return Parent::target(static_cast(e)); } /// \brief Base node of the iterator /// /// Returns the base node (ie. the target in this case) of the iterator Node baseNode(const InEdgeIt &e) const { - return Parent::target((Edge)e); + return Parent::target(static_cast(e)); } /// \brief Running node of the iterator /// /// Returns the running node (ie. the source in this case) of the /// iterator Node runningNode(const InEdgeIt &e) const { - return Parent::source((Edge)e); + return Parent::source(static_cast(e)); } using Parent::first; @@ -496,28 +496,28 @@ /// /// Returns the base node (ie. the source in this case) of the iterator Node baseNode(const OutEdgeIt &e) const { - return Parent::source((Edge)e); + return Parent::source(static_cast(e)); } /// \brief Running node of the iterator /// /// Returns the running node (ie. the target in this case) of the /// iterator Node runningNode(const OutEdgeIt &e) const { - return Parent::target((Edge)e); + return Parent::target(static_cast(e)); } /// \brief Base node of the iterator /// /// Returns the base node (ie. the target in this case) of the iterator Node baseNode(const InEdgeIt &e) const { - return Parent::target((Edge)e); + return Parent::target(static_cast(e)); } /// \brief Running node of the iterator /// /// Returns the running node (ie. the source in this case) of the /// iterator Node runningNode(const InEdgeIt &e) const { - return Parent::source((Edge)e); + return Parent::source(static_cast(e)); } /// Base node of the iterator