aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/clang/Analysis/PathSensitive/GRStateTrait.h2
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) {