1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 02:52:53 +02:00

Fix GCC -Wcast-qual warnings

This commit is contained in:
Hans Wennborg 2019-11-15 09:48:50 +01:00
parent ac9f8ddb0e
commit 4beb961a84

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