diff options
| author | Rob Richards <rrichards@php.net> | 2003-08-29 17:36:34 +0000 |
|---|---|---|
| committer | Rob Richards <rrichards@php.net> | 2003-08-29 17:36:34 +0000 |
| commit | bf26b9a7e1b40ea667c7629d82074fa662fc221d (patch) | |
| tree | 2458fe6e65bf79061c3dd20b9cf03b70b2ea5b0c /ext/domxml/php_domxml.c | |
| parent | c23ec177d5e16ca43ae69589a76b43500a66548a (diff) | |
| download | php-git-bf26b9a7e1b40ea667c7629d82074fa662fc221d.tar.gz | |
fix builds using libxml 2.5.10+
Diffstat (limited to 'ext/domxml/php_domxml.c')
| -rw-r--r-- | ext/domxml/php_domxml.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/domxml/php_domxml.c b/ext/domxml/php_domxml.c index ada6127a9d..f6666c0e57 100644 --- a/ext/domxml/php_domxml.c +++ b/ext/domxml/php_domxml.c @@ -1414,7 +1414,7 @@ static void domxml_error_ext(void *ctx, const char *msg, ...) add_assoc_string(errormessages,"errormessage",buf,1); input = ctxt->input; if (ctxt->name) { - add_assoc_string(errormessages,"nodename",ctxt->name,1); + add_assoc_string(errormessages,"nodename",(char *) ctxt->name,1); } if (input != NULL) { add_assoc_long(errormessages,"line",input->line); @@ -1450,7 +1450,7 @@ static void domxml_error_validate(void *ctx, const char *msg, ...) } if (ctxt->parser != NULL) { if (ctxt->parser->name) { - add_assoc_string(errormessages,"nodename",ctxt->parser->name,1); + add_assoc_string(errormessages,"nodename",(char *)ctxt->parser->name,1); } if (ctxt->parser->input != NULL) { |
