You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
871 B

Clang16 will not allow to assign incompatible pointer types by default.
Therefore we need to and const to the third parameter of this function
to match the pointer XmlHashScanner this function is later assigned to.
Bug: https://bugs.gentoo.org/882207
Patch has been sent to upstream here: https://sourceforge.net/p/bluefish/tickets/66/
Pascal Jäger <pascal.jaeger@leimstift.de> (2022-12-07)
--- a/src/plugin_infbrowser/infb_dtd.c
+++ b/src/plugin_infbrowser/infb_dtd.c
@@ -80,7 +80,7 @@ static gchar *infb_dtd_str_content(xmlElementContentPtr ct,gchar *sofar) {
return ret;
}
-static void infb_dtd_element_to_group(void *payload, void *data, xmlChar *name) {
+static void infb_dtd_element_to_group(void *payload, void *data,const xmlChar *name) {
xmlElementPtr el = (xmlElementPtr)payload;
switch(name[0]) {
case 'a':case 'b':case 'c':case 'd':case 'e':