summaryrefslogtreecommitdiff
path: root/xmlIO.c
diff options
context:
space:
mode:
authorNick Wellnhofer <wellnhofer@aevum.de>2017-11-09 17:47:47 +0100
committerNick Wellnhofer <wellnhofer@aevum.de>2017-11-09 17:47:47 +0100
commit86615e43bbac2315aa069ca3ef4712477d61605c (patch)
treef6fd6a6a734f140516026ae8d6e42142986bc54e /xmlIO.c
parente5f33e56bafc332fd63f6643b687ebfe14bcba56 (diff)
downloadlibxml2-86615e43bbac2315aa069ca3ef4712477d61605c.tar.gz
Fix IO callback signatures
Diffstat (limited to 'xmlIO.c')
-rw-r--r--xmlIO.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/xmlIO.c b/xmlIO.c
index 1d490954..e61e7800 100644
--- a/xmlIO.c
+++ b/xmlIO.c
@@ -2843,10 +2843,8 @@ xmlOutputBufferCreateBuffer(xmlBufferPtr buffer,
if (buffer == NULL) return(NULL);
- ret = xmlOutputBufferCreateIO((xmlOutputWriteCallback)
- xmlBufferWrite,
- (xmlOutputCloseCallback)
- NULL, (void *) buffer, encoder);
+ ret = xmlOutputBufferCreateIO(xmlBufferWrite, NULL, (void *) buffer,
+ encoder);
return(ret);
}