about summary refs log tree commit diff homepage
path: root/include
diff options
context:
space:
mode:
authorMartin Nowack <martin.nowack@gmail.com>2013-08-27 22:03:50 +0200
committerMartin Nowack <martin.nowack@gmail.com>2013-08-28 08:54:50 +0200
commit1f0255ab650b59ef8acafb57b23900f7d89046f7 (patch)
tree9a20cdde76bc3f2fe93cc145c999600ab92b2786 /include
parent45fa391391b57beecefd2cbcf3ce243d8aaea4f7 (diff)
downloadklee-1f0255ab650b59ef8acafb57b23900f7d89046f7.tar.gz
Fix constness warnings issued by gcc 4.7
Diffstat (limited to 'include')
-rw-r--r--include/klee/Expr.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/klee/Expr.h b/include/klee/Expr.h
index 9d170dc5..4bebd521 100644
--- a/include/klee/Expr.h
+++ b/include/klee/Expr.h
@@ -364,7 +364,7 @@ public:
 
   virtual ref<Expr> rebuild(ref<Expr> kids[]) const { 
     assert(0 && "rebuild() on ConstantExpr"); 
-    return (Expr*) this;
+    return const_cast<ConstantExpr*>(this);
   }
 
   virtual unsigned computeHash();