diff options
author | Frank Busse <bb0xfb@gmail.com> | 2018-05-08 11:00:14 +0100 |
---|---|---|
committer | MartinNowack <martin.nowack@gmail.com> | 2018-05-21 18:00:55 +0100 |
commit | 5165772d3f03314fb61cc47256b67d923605c951 (patch) | |
tree | d781a6874db394936c8431c510dd36e7ce94159c /lib/Core/ExecutorUtil.cpp | |
parent | 33964e5d935f903b2850f6576f93ce229fb00918 (diff) | |
download | klee-5165772d3f03314fb61cc47256b67d923605c951.tar.gz |
fix some casts for LLP64 compilers
Diffstat (limited to 'lib/Core/ExecutorUtil.cpp')
-rw-r--r-- | lib/Core/ExecutorUtil.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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<BlockAddress>(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<std::uint64_t>(arg_bb)); return cast<ConstantExpr>(res); } else { std::string msg("Cannot handle constant "); |