summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/DynamicLoader/Darwin-Kernel/DynamicLoaderDarwinKernel.cpp
diff options
context:
space:
mode:
authorVedant Kumar <vsk@apple.com>2017-12-06 19:21:09 +0000
committerVedant Kumar <vsk@apple.com>2017-12-06 19:21:09 +0000
commit8465c38b1ecdb44eac9139a255f17eaae243b755 (patch)
tree86c3c13a1c723b9d1091b8c8706145748d1c062b /lldb/source/Plugins/DynamicLoader/Darwin-Kernel/DynamicLoaderDarwinKernel.cpp
parenta73324b0a9a8abcd275b195d8bc3680aa48fddf3 (diff)
downloadbcm5719-llvm-8465c38b1ecdb44eac9139a255f17eaae243b755.tar.gz
bcm5719-llvm-8465c38b1ecdb44eac9139a255f17eaae243b755.zip
Use a static_cast instead of a C cast, NFC
Pointed out by Davide Italiano in post-commit review. llvm-svn: 319935
Diffstat (limited to 'lldb/source/Plugins/DynamicLoader/Darwin-Kernel/DynamicLoaderDarwinKernel.cpp')
-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 961a79587dc..a81a0306671 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 = (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) {
OpenPOWER on IntegriCloud