Comment dumper: silence a warning by not casting away const

llvm-svn: 160972
This commit is contained in:
Dmitri Gribenko 2012-07-30 17:52:50 +00:00
parent 5de4c064c1
commit ad40ba91ae
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}