Fix warning in DynamicLoaderDarwinKernel.cpp, NFC

llvm-svn: 319597
This commit is contained in:
Vedant Kumar 2017-12-01 23:53:01 +00:00
parent 02de50fdc4
commit 1541c37cb9
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 = (uint8_t *)m_uuid.GetBytes();
const uint8_t *u = (const uint8_t *)m_uuid.GetBytes();
if (m_load_address == LLDB_INVALID_ADDRESS) {
if (u) {