void writeNode(NodeType *Node) {
std::string NodeAttributes = DOTTraits::getNodeAttributes(Node, G);
- O << "\tNode" << reinterpret_cast<const void*>(Node) << " [shape=record,";
+ O << "\tNode" << static_cast<const void*>(Node) << " [shape=record,";
if (!NodeAttributes.empty()) O << NodeAttributes << ",";
O << "label=\"{";
DestPort = static_cast<int>(Offset);
}
- emitEdge(reinterpret_cast<const void*>(Node), edgeidx,
- reinterpret_cast<const void*>(TargetNode), DestPort,
+ emitEdge(static_cast<const void*>(Node), edgeidx,
+ static_cast<const void*>(TargetNode), DestPort,
DOTTraits::getEdgeAttributes(Node, EI));
}
}
O << "\tNode" << SrcNodeID;
if (SrcNodePort >= 0)
O << ":s" << SrcNodePort;
- O << " -> Node" << reinterpret_cast<const void*>(DestNodeID);
+ O << " -> Node" << DestNodeID;
if (DestNodePort >= 0)
O << ":d" << DestNodePort;