depot/third_party/nixpkgs/pkgs/tools/text/xml/xmlstarlet/fix-incompatible-function-pointer.patch
Default email d5f4a57cbf Project import generated by Copybara.
GitOrigin-RevId: ce5e4a6ef2e59d89a971bc434ca8ca222b9c7f5e
2023-08-10 09:59:29 +02:00

11 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;