diff options
author | Galina Kistanova <gkistanova@gmail.com> | 2012-07-19 04:50:12 +0000 |
---|---|---|
committer | Galina Kistanova <gkistanova@gmail.com> | 2012-07-19 04:50:12 +0000 |
commit | 72ea0c9ffaa1700730c8ce36e9b73aef4b914988 (patch) | |
tree | 25eead7dfb6311dae230feec2b261fad17a7494a /include/llvm/Support/GraphWriter.h | |
parent | 0818e71e8f22965e24f38949d40097c117b8bb3f (diff) |
Fixed few warnings.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@160493 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Support/GraphWriter.h')
-rw-r--r-- | include/llvm/Support/GraphWriter.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/llvm/Support/GraphWriter.h b/include/llvm/Support/GraphWriter.h index ae32da59dc..f178b0caa8 100644 --- a/include/llvm/Support/GraphWriter.h +++ b/include/llvm/Support/GraphWriter.h @@ -172,7 +172,7 @@ public: // If we should include the address of the node in the label, do so now. if (DTraits.hasNodeAddressLabel(Node, G)) - O << "|" << (void*)Node; + O << "|" << static_cast<const void*>(Node); } std::string edgeSourceLabels; @@ -192,7 +192,7 @@ public: // If we should include the address of the node in the label, do so now. if (DTraits.hasNodeAddressLabel(Node, G)) - O << "|" << (void*)Node; + O << "|" << static_cast<const void*>(Node); } if (DTraits.hasEdgeDestLabels()) { |