forked from OSchip/llvm-project
Use a static_cast instead of a C cast, NFC
Pointed out by Davide Italiano in post-commit review. llvm-svn: 319935
This commit is contained in:
parent
a73324b0a9
commit
8465c38b1e
|
@ -1407,7 +1407,7 @@ bool DynamicLoaderDarwinKernel::ReadAllKextSummaries() {
|
|||
void DynamicLoaderDarwinKernel::KextImageInfo::PutToLog(Log *log) const {
|
||||
if (log == NULL)
|
||||
return;
|
||||
const uint8_t *u = (const uint8_t *)m_uuid.GetBytes();
|
||||
const uint8_t *u = static_cast<const uint8_t *>(m_uuid.GetBytes());
|
||||
|
||||
if (m_load_address == LLDB_INVALID_ADDRESS) {
|
||||
if (u) {
|
||||
|
|
Loading…
Reference in New Issue