aboutsummaryrefslogtreecommitdiff
path: root/lib/Analysis/Store.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Analysis/Store.cpp')
-rw-r--r--lib/Analysis/Store.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Analysis/Store.cpp b/lib/Analysis/Store.cpp
index 76437d2c86..c9c49c6e9b 100644
--- a/lib/Analysis/Store.cpp
+++ b/lib/Analysis/Store.cpp
@@ -67,7 +67,7 @@ StoreManager::CastRegion(const GRState* state, const MemRegion* R,
// the types aren't the same, so we construct an ElementRegion.
// FIXME: We should have a standard query function to get the size
// of the array index.
- SVal Idx = ValMgr.makeZeroVal(ValMgr.getContext().VoidPtrTy);
+ SVal Idx = ValMgr.makeZeroIndex();
// If the super region is an element region, strip it away.
// FIXME: Is this the right thing to do in all cases?