aboutsummaryrefslogtreecommitdiff
path: root/gdb/dwarf2/types.h
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/dwarf2/types.h')
-rw-r--r--gdb/dwarf2/types.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/dwarf2/types.h b/gdb/dwarf2/types.h
index 9db5c63..f0b9feb 100644
--- a/gdb/dwarf2/types.h
+++ b/gdb/dwarf2/types.h
@@ -31,7 +31,7 @@ DEFINE_OFFSET_TYPE (cu_offset, unsigned int);
section. */
DEFINE_OFFSET_TYPE (sect_offset, uint64_t);
-static inline char *
+static inline const char *
sect_offset_str (sect_offset offset)
{
return hex_string (to_underlying (offset));