summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVedant Kumar <vsk@apple.com>2017-12-01 23:53:01 +0000
committerVedant Kumar <vsk@apple.com>2017-12-01 23:53:01 +0000
commit1541c37cb972b08fe4d99849cd9ca226a6f6b7e4 (patch)
treea8cbcdc8da7cb810f6d2a4e9e24052022660dae9
parent02de50fdc497f334144ca5d98720a1a27e75fd05 (diff)
downloadbcm5719-llvm-1541c37cb972b08fe4d99849cd9ca226a6f6b7e4.tar.gz
bcm5719-llvm-1541c37cb972b08fe4d99849cd9ca226a6f6b7e4.zip
Fix warning in DynamicLoaderDarwinKernel.cpp, NFC
llvm-svn: 319597
-rw-r--r--lldb/source/Plugins/DynamicLoader/Darwin-Kernel/DynamicLoaderDarwinKernel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Plugins/DynamicLoader/Darwin-Kernel/DynamicLoaderDarwinKernel.cpp b/lldb/source/Plugins/DynamicLoader/Darwin-Kernel/DynamicLoaderDarwinKernel.cpp
index 31f746c1277..961a79587dc 100644
--- a/lldb/source/Plugins/DynamicLoader/Darwin-Kernel/DynamicLoaderDarwinKernel.cpp
+++ b/lldb/source/Plugins/DynamicLoader/Darwin-Kernel/DynamicLoaderDarwinKernel.cpp
@@ -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) {
OpenPOWER on IntegriCloud