mirror of
https://github.com/termux/termux-packages.git
synced 2025-02-23 01:07:10 +00:00
21 lines
444 B
Diff
21 lines
444 B
Diff
--- a/src/xml_elem.c
|
|
+++ b/src/xml_elem.c
|
|
@@ -178,7 +178,7 @@
|
|
}
|
|
|
|
typedef struct {
|
|
- xmlChar **array;
|
|
+ const xmlChar **array;
|
|
int offset;
|
|
} ArrayDest;
|
|
|
|
@@ -186,7 +186,7 @@
|
|
* put @name into @data->array[@data->offset]
|
|
*/
|
|
static void
|
|
-hash_key_put(void *payload, void *data, xmlChar *name)
|
|
+hash_key_put(void *payload, void *data, const xmlChar *name)
|
|
{
|
|
ArrayDest *dest = data;
|
|
dest->array[dest->offset++] = name;
|