summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--python/libxslt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/python/libxslt.c b/python/libxslt.c
index 6db61c5f..ee26d689 100644
--- a/python/libxslt.c
+++ b/python/libxslt.c
@@ -180,7 +180,7 @@ static xmlHashTablePtr libxslt_extModuleElements = NULL;
static xmlHashTablePtr libxslt_extModuleElementPreComp = NULL;
static void
-deallocateCallback(void *payload, xmlChar *name ATTRIBUTE_UNUSED) {
+deallocateCallback(void *payload, const xmlChar *name ATTRIBUTE_UNUSED) {
PyObject *function = (PyObject *) payload;
#ifdef DEBUG_EXTENSIONS
@@ -191,7 +191,7 @@ deallocateCallback(void *payload, xmlChar *name ATTRIBUTE_UNUSED) {
}
static void
-deallocateClasse(void *payload, xmlChar *name ATTRIBUTE_UNUSED) {
+deallocateClasse(void *payload, const xmlChar *name ATTRIBUTE_UNUSED) {
PyObject *class = (PyObject *) payload;
#ifdef DEBUG_EXTENSIONS