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:
Vedant Kumar 2017-12-06 19:21:09 +00:00
parent a73324b0a9
commit 8465c38b1e
1 changed files with 1 additions and 1 deletions

View File

@ -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) {