Files
MINGW-packages/mingw-w64-vcdimager/004-libxml2-fixes.patch
T

21 lines
823 B
Diff

--- vcdimager/frontends/xml/vcd_xml_common.c.orig 2025-04-25 10:37:59.722970842 +0000
+++ vcdimager/frontends/xml/vcd_xml_common.c
@@ -242,13 +242,13 @@ _convert (const char in[], const char en
temp = size - 1;
if (from) {
- if (NULL != handler->output)
- ret = handler->output (out, &out_size, (const unsigned char *) in, &temp);
+ if (NULL != handler->output.legacyFunc)
+ ret = handler->output.legacyFunc (out, &out_size, (const unsigned char *) in, &temp);
else
return strdup(in);
} else {
- if (NULL != handler->input)
- ret = handler->input (out, &out_size, (const unsigned char *) in, &temp);
+ if (NULL != handler->input.legacyFunc)
+ ret = handler->input.legacyFunc (out, &out_size, (const unsigned char *) in, &temp);
else
return strdup(in);
}