summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Jones <sixd@php.net>2013-08-20 10:41:29 -0700
committerChristopher Jones <sixd@php.net>2013-08-20 10:41:29 -0700
commitd82f9339fee1795f26498539b5276c7bdd654658 (patch)
tree86df1fefa188262a4c107ce3f341fab9f820ae3e
parenteba85f91d834f1e1d1278af255ee92b04ad770b9 (diff)
downloadphp-git-d82f9339fee1795f26498539b5276c7bdd654658.tar.gz
Eliminate compiler warnings: "warning: pointer targets in initialization differ in signedness"
-rw-r--r--ext/xml/xml.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/ext/xml/xml.c b/ext/xml/xml.c
index 334938ab24..1ef01c8864 100644
--- a/ext/xml/xml.c
+++ b/ext/xml/xml.c
@@ -274,10 +274,10 @@ zend_module_entry xml_module_entry = {
* the encoding is currently done internally by expat/xmltok.
*/
xml_encoding xml_encodings[] = {
- { "ISO-8859-1", xml_decode_iso_8859_1, xml_encode_iso_8859_1 },
- { "US-ASCII", xml_decode_us_ascii, xml_encode_us_ascii },
- { "UTF-8", NULL, NULL },
- { NULL, NULL, NULL }
+ { (XML_Char *)"ISO-8859-1", xml_decode_iso_8859_1, xml_encode_iso_8859_1 },
+ { (XML_Char *)"US-ASCII", xml_decode_us_ascii, xml_encode_us_ascii },
+ { (XML_Char *)"UTF-8", NULL, NULL },
+ { (XML_Char *)NULL, NULL, NULL }
};
static XML_Memory_Handling_Suite php_xml_mem_hdlrs;