From: Zhongxing Xu Date: Thu, 27 Nov 2008 06:32:54 +0000 (+0000) Subject: ImmutableList::getInternalPointer() returns a const ImmutableListImpl* pointer... X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e42aaba04bff90a1d08b95e36edcb7ff314c77c7;p=clang ImmutableList::getInternalPointer() returns a const ImmutableListImpl* 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 --- 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) {