build: Fix another GCC discarded-qualifiers const error.

Follow on commit to 27a39cba7e
to fix compilation with BETTER_BACKTRACES with gcc 15.2.1.

Resolves: #1781
pull/1790/head
Naveen Albert 2 weeks ago
parent 1d8f6d63d3
commit 8fda0ab3cd

@ -128,7 +128,7 @@ static void process_section(bfd *bfdobj, asection *section, void *obj)
bfd_vma vma;
bfd_size_type size;
bfd_boolean line_found = 0;
char *fn;
const char *fn;
int inlined = 0;
offset = data->pc - (data->dynamic ? (bfd_vma)(uintptr_t) data->dli.dli_fbase : 0);

Loading…
Cancel
Save