summaryrefslogtreecommitdiffstats
path: root/lldb/source
diff options
context:
space:
mode:
authorSteve Pucci <spucci@google.com>2014-01-17 18:29:08 +0000
committerSteve Pucci <spucci@google.com>2014-01-17 18:29:08 +0000
commit7489cc98f7bf461cf11cd270d0d07fca49c87bae (patch)
treec74913b0a7e17eb5ce31a0f709f92fe8932e8e16 /lldb/source
parentaa71cd8d2651190e752b52f4d74b920de968c2bf (diff)
downloadbcm5719-llvm-7489cc98f7bf461cf11cd270d0d07fca49c87bae.tar.gz
bcm5719-llvm-7489cc98f7bf461cf11cd270d0d07fca49c87bae.zip
Fix gcc warnings about casting away constness
llvm-svn: 199506
Diffstat (limited to 'lldb/source')
-rw-r--r--lldb/source/Plugins/SymbolFile/DWARF/DWARFFormValue.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Plugins/SymbolFile/DWARF/DWARFFormValue.h b/lldb/source/Plugins/SymbolFile/DWARF/DWARFFormValue.h
index fce995e4ff2..d6c580c7ab1 100644
--- a/lldb/source/Plugins/SymbolFile/DWARF/DWARFFormValue.h
+++ b/lldb/source/Plugins/SymbolFile/DWARF/DWARFFormValue.h
@@ -53,7 +53,7 @@ public:
bool ExtractValue(const lldb_private::DWARFDataExtractor& data,
lldb::offset_t* offset_ptr,
const DWARFCompileUnit* cu);
- bool IsInlinedCStr() const { return (m_value.data != NULL) && m_value.data == (uint8_t*)m_value.value.cstr; }
+ bool IsInlinedCStr() const { return (m_value.data != NULL) && m_value.data == (const uint8_t*)m_value.value.cstr; }
const uint8_t* BlockData() const;
uint64_t Reference(const DWARFCompileUnit* cu) const;
uint64_t Reference (dw_offset_t offset) const;
OpenPOWER on IntegriCloud