about summary refs log tree commit diff homepage
path: root/lib/Expr/Constraints.cpp
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2010-05-02 16:38:56 +0000
committerDaniel Dunbar <daniel@zuster.org>2010-05-02 16:38:56 +0000
commitbbfe70007076f28ddbc58abc0eeb7f6dc95e2036 (patch)
tree613ced28460880adf132038190e9734a96a26cec /lib/Expr/Constraints.cpp
parentd62aeb9a334cb83b49e016aac1f7e37bc35f5a5d (diff)
downloadklee-bbfe70007076f28ddbc58abc0eeb7f6dc95e2036.tar.gz
Fix some const cast warnings.
git-svn-id: https://llvm.org/svn/llvm-project/klee/trunk@102867 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Expr/Constraints.cpp')
-rw-r--r--lib/Expr/Constraints.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Expr/Constraints.cpp b/lib/Expr/Constraints.cpp
index 9c09e643..b759daae 100644
--- a/lib/Expr/Constraints.cpp
+++ b/lib/Expr/Constraints.cpp
@@ -52,7 +52,7 @@ public:
 
   Action visitExprPost(const Expr &e) {
     std::map< ref<Expr>, ref<Expr> >::const_iterator it =
-      replacements.find(ref<Expr>((Expr*) &e));
+      replacements.find(ref<Expr>(const_cast<Expr*>(&e)));
     if (it!=replacements.end()) {
       return Action::changeTo(it->second);
     } else {