mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-21 05:04:00 +00:00
62ddedb4ea
Fixes an incompatible function pointer error when building with clang 16.
12 lines
390 B
Diff
12 lines
390 B
Diff
--- a/src/xml_elem.c 2012-08-12 09:18:59.000000000 -0600
|
|
+++ b/src/xml_elem.c 2023-07-11 13:17:14.220809280 -0600
|
|
@@ -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;
|