diff --git a/clang/lib/AST/Interp/Disasm.cpp b/clang/lib/AST/Interp/Disasm.cpp index db68887f0558f..82debe4fcae16 100644 --- a/clang/lib/AST/Interp/Disasm.cpp +++ b/clang/lib/AST/Interp/Disasm.cpp @@ -40,7 +40,7 @@ LLVM_DUMP_METHOD void Function::dump(llvm::raw_ostream &OS) const { } else { OS << F->getDeclName(); } - OS << " " << (void*)this << ":\n"; + OS << " " << (const void*)this << ":\n"; } else { OS << "<>\n"; }