aboutsummaryrefslogtreecommitdiff
path: root/lib/AST/CommentDumper.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/AST/CommentDumper.cpp')
-rw-r--r--lib/AST/CommentDumper.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/AST/CommentDumper.cpp b/lib/AST/CommentDumper.cpp
index 764492f94c..f02ea334cd 100644
--- a/lib/AST/CommentDumper.cpp
+++ b/lib/AST/CommentDumper.cpp
@@ -75,7 +75,7 @@ void CommentDumper::dumpSourceRange(const Comment *C) {
void CommentDumper::dumpComment(const Comment *C) {
dumpIndent();
OS << "(" << C->getCommentKindName()
- << " " << (void *) C;
+ << " " << (const void *) C;
dumpSourceRange(C);
}