summaryrefslogtreecommitdiff
path: root/lib/DebugInfo/DWARFFormValue.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/DebugInfo/DWARFFormValue.h')
-rw-r--r--lib/DebugInfo/DWARFFormValue.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/DebugInfo/DWARFFormValue.h b/lib/DebugInfo/DWARFFormValue.h
index 22ac011664..c5b590db95 100644
--- a/lib/DebugInfo/DWARFFormValue.h
+++ b/lib/DebugInfo/DWARFFormValue.h
@@ -52,7 +52,7 @@ public:
bool extractValue(DataExtractor data, uint32_t *offset_ptr,
const DWARFCompileUnit *cu);
bool isInlinedCStr() const {
- return Value.data != NULL && Value.data == (uint8_t*)Value.cstr;
+ return Value.data != NULL && Value.data == (const uint8_t*)Value.cstr;
}
const uint8_t *BlockData() const;
uint64_t getReference(const DWARFCompileUnit* cu) const;