Author: zhongxingxu
Date: Thu Nov 27 00:32:54 2008
New Revision: 60152

URL: http://llvm.org/viewvc/llvm-project?rev=60152&view=rev
Log:
ImmutableList::getInternalPointer() returns a const ImmutableListImpl<T>* 
pointer, which must be converted to void* explicitly.

Modified:
    cfe/trunk/include/clang/Analysis/PathSensitive/GRStateTrait.h

Modified: cfe/trunk/include/clang/Analysis/PathSensitive/GRStateTrait.h
URL: 
http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Analysis/PathSensitive/GRStateTrait.h?rev=60152&r1=60151&r2=60152&view=diff

==============================================================================
--- cfe/trunk/include/clang/Analysis/PathSensitive/GRStateTrait.h (original)
+++ cfe/trunk/include/clang/Analysis/PathSensitive/GRStateTrait.h Thu Nov 27 
00:32:54 2008
@@ -80,7 +80,7 @@
     }  
     
     static inline void* MakeVoidPtr(data_type D) {
-      return D.getInternalPointer();
+      return  (void*) D.getInternalPointer();
     }  
     
     static inline context_type MakeContext(void* p) {


_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to