From e42aaba04bff90a1d08b95e36edcb7ff314c77c7 Mon Sep 17 00:00:00 2001 From: Zhongxing Xu Date: Thu, 27 Nov 2008 06:32:54 +0000 Subject: [PATCH] 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 --- include/clang/Analysis/PathSensitive/GRStateTrait.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { -- 2.50.1