Skip to content

Commit 7c52e14

Browse files
InterLinked1github-actions[bot]
authored andcommitted
build: Fix another GCC discarded-qualifiers const error.
Follow on commit to 27a39cba7e6832cb30cb64edaf879f447b669628 to fix compilation with BETTER_BACKTRACES with gcc 15.2.1. Resolves: #1781
1 parent 2da221e commit 7c52e14

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main/backtrace.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ static void process_section(bfd *bfdobj, asection *section, void *obj)
128128
bfd_vma vma;
129129
bfd_size_type size;
130130
bfd_boolean line_found = 0;
131-
char *fn;
131+
const char *fn;
132132
int inlined = 0;
133133

134134
offset = data->pc - (data->dynamic ? (bfd_vma)(uintptr_t) data->dli.dli_fbase : 0);

0 commit comments

Comments
 (0)