From 5165772d3f03314fb61cc47256b67d923605c951 Mon Sep 17 00:00:00 2001 From: Frank Busse Date: Tue, 8 May 2018 11:00:14 +0100 Subject: fix some casts for LLP64 compilers --- lib/Core/ExecutorUtil.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/Core/ExecutorUtil.cpp') diff --git a/lib/Core/ExecutorUtil.cpp b/lib/Core/ExecutorUtil.cpp index a0f4de3d..355f6f78 100644 --- a/lib/Core/ExecutorUtil.cpp +++ b/lib/Core/ExecutorUtil.cpp @@ -122,7 +122,7 @@ namespace klee { } else if (const BlockAddress * ba = dyn_cast(c)) { // return the address of the specified basic block in the specified function const auto arg_bb = (BasicBlock *) ba->getOperand(1); - const auto res = Expr::createPointer((uint64_t) (unsigned long) (void *) arg_bb); + const auto res = Expr::createPointer(reinterpret_cast(arg_bb)); return cast(res); } else { std::string msg("Cannot handle constant "); -- cgit 1.4.1