diff options
author | Zhongxing Xu <xuzhongxing@gmail.com> | 2008-11-27 06:32:54 +0000 |
---|---|---|
committer | Zhongxing Xu <xuzhongxing@gmail.com> | 2008-11-27 06:32:54 +0000 |
commit | e42aaba04bff90a1d08b95e36edcb7ff314c77c7 (patch) | |
tree | 9778fcf44b6a8174a1012c0e73f1d0b7bf838603 | |
parent | f0bc50eaa3fda5dd5d4148d385e25ac79151561b (diff) |
ImmutableList::getInternalPointer() returns a const ImmutableListImpl<T>* pointer, which must be converted to void* explicitly.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@60152 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | include/clang/Analysis/PathSensitive/GRStateTrait.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/clang/Analysis/PathSensitive/GRStateTrait.h b/include/clang/Analysis/PathSensitive/GRStateTrait.h index d99ca57e63..cf5ce553ef 100644 --- a/include/clang/Analysis/PathSensitive/GRStateTrait.h +++ b/include/clang/Analysis/PathSensitive/GRStateTrait.h @@ -80,7 +80,7 @@ namespace clang { } static inline void* MakeVoidPtr(data_type D) { - return D.getInternalPointer(); + return (void*) D.getInternalPointer(); } static inline context_type MakeContext(void* p) { |