diff options
author | Daniel Dunbar <daniel@zuster.org> | 2010-05-02 16:38:56 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2010-05-02 16:38:56 +0000 |
commit | bbfe70007076f28ddbc58abc0eeb7f6dc95e2036 (patch) | |
tree | 613ced28460880adf132038190e9734a96a26cec /lib/Core/SpecialFunctionHandler.cpp | |
parent | d62aeb9a334cb83b49e016aac1f7e37bc35f5a5d (diff) | |
download | klee-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/Core/SpecialFunctionHandler.cpp')
-rw-r--r-- | lib/Core/SpecialFunctionHandler.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Core/SpecialFunctionHandler.cpp b/lib/Core/SpecialFunctionHandler.cpp index ba86428d..1b96d5f1 100644 --- a/lib/Core/SpecialFunctionHandler.cpp +++ b/lib/Core/SpecialFunctionHandler.cpp @@ -644,7 +644,7 @@ void SpecialFunctionHandler::handleMakeSymbolic(ExecutionState &state, for (Executor::ExactResolutionList::iterator it = rl.begin(), ie = rl.end(); it != ie; ++it) { - MemoryObject *mo = (MemoryObject*) it->first.first; + const MemoryObject *mo = it->first.first; mo->setName(name); const ObjectState *old = it->first.second; @@ -688,7 +688,7 @@ void SpecialFunctionHandler::handleMarkGlobal(ExecutionState &state, for (Executor::ExactResolutionList::iterator it = rl.begin(), ie = rl.end(); it != ie; ++it) { - MemoryObject *mo = (MemoryObject*) it->first.first; + const MemoryObject *mo = it->first.first; assert(!mo->isLocal); mo->isGlobal = true; } |