Fix GCC -Wcast-qual warnings

This commit is contained in:
Hans Wennborg 2019-11-15 09:48:50 +01:00
parent 04dcb8009f
commit c42e385135
1 changed files with 2 additions and 2 deletions

View File

@ -42,8 +42,8 @@ DumpObjects::operator()(std::unique_ptr<MemoryBuffer> Obj) {
}
LLVM_DEBUG({
dbgs() << "Dumping object buffer [ " << (void *)Obj->getBufferStart()
<< " -- " << (void *)(Obj->getBufferEnd() - 1) << " ] to "
dbgs() << "Dumping object buffer [ " << (const void *)Obj->getBufferStart()
<< " -- " << (const void *)(Obj->getBufferEnd() - 1) << " ] to "
<< DumpPath << "\n";
});