svn: /php/php-src/trunk/ext/dom/ document.c
| From: | Kalle Sommer Nielsen | Date: | Thu, 23 Sep 2010 03:54:54 +0000 |
| Subject: | svn: /php/php-src/trunk/ext/dom/ document.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-63552@lists.php.net to get a copy of this message | ||
kalle Thu, 23 Sep 2010 03:54:54 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=303706
Log:
Cast to char * here
Changed paths:
U php/php-src/trunk/ext/dom/document.c
Modified: php/php-src/trunk/ext/dom/document.c
===================================================================
--- php/php-src/trunk/ext/dom/document.c 2010-09-23 03:50:41 UTC (rev 303705)
+++ php/php-src/trunk/ext/dom/document.c 2010-09-23 03:54:54 UTC (rev 303706)
@@ -1211,7 +1211,7 @@
nsptr = xmlSearchNsByHref (nodep->doc, root, nodep->ns->href);
if (nsptr == NULL) {
int errorcode;
- nsptr = dom_get_ns(root, nodep->ns->href, &errorcode, nodep->ns->prefix);
+ nsptr = dom_get_ns(root, (char *) nodep->ns->href, &errorcode, (char *)
nodep->ns->prefix);
}
xmlSetNs(retnodep, nsptr);
}