diff options
Diffstat (limited to 'clang/lib')
-rw-r--r-- | clang/lib/Checker/RegionStore.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Checker/RegionStore.cpp b/clang/lib/Checker/RegionStore.cpp index 7fb9c0fd1b6..376921f00e6 100644 --- a/clang/lib/Checker/RegionStore.cpp +++ b/clang/lib/Checker/RegionStore.cpp @@ -1596,7 +1596,7 @@ const GRState *RegionStoreManager::BindArray(const GRState *state, // We assume that string constants are bound to // constant arrays. - uint64_t size = Size; + uint64_t size = Size.getValue(); for (uint64_t i = 0; i < size; ++i, ++j) { if (j >= len) |