1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-16 04:35:13 +03:00
aports/testing/gdb-esp/fix-invalid-implicit-conversion.patch
Marian Buschsieweke 2bf239121f testing/gdb-esp: new aport
The GNU Debugger for embedded targets patched for ESP support
https://www.sourceware.org/gdb/
2022-10-21 23:25:28 +00:00

13 lines
371 B
Diff

An implicit cast from `const char *` to `char *` is not possible without
adding `-fpermissive`. But let's rather make the cast explicit here.
--- a/gdb/completer.c
+++ b/gdb/completer.c
@@ -2011,7 +2011,7 @@
rl_basic_quote_characters = NULL;
}
- return rl_completer_word_break_characters;
+ return (char *)rl_completer_word_break_characters;
}
char *