[ORC] Cast to const void* to silence a GCC warning. NFC.

This commit is contained in:
Martin Storsjö 2020-11-25 12:06:26 +02:00
parent df54f50437
commit d2b71ea03d
1 changed files with 1 additions and 1 deletions

View File

@ -94,7 +94,7 @@ public:
<< " bytes to " << ((Prot & orcrpctpc::WPF_Read) ? 'R' : '-') << " bytes to " << ((Prot & orcrpctpc::WPF_Read) ? 'R' : '-')
<< ((Prot & orcrpctpc::WPF_Write) ? 'W' : '-') << ((Prot & orcrpctpc::WPF_Write) ? 'W' : '-')
<< ((Prot & orcrpctpc::WPF_Exec) ? 'X' : '-') << ((Prot & orcrpctpc::WPF_Exec) ? 'X' : '-')
<< " segment: local " << (void *)B.Buffer.data() << " segment: local " << (const void *)B.Buffer.data()
<< " -> target " << formatv("{0:x16}", B.Address) << "\n"; << " -> target " << formatv("{0:x16}", B.Address) << "\n";
} }
}); });