From 913171396e6c05df1813801011bea272531e9f90 Mon Sep 17 00:00:00 2001 From: Michael Jerris Date: Fri, 16 Nov 2007 23:04:34 +0000 Subject: [PATCH] part of FSCORE-61 git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6314 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/switch_xml.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/switch_xml.cpp b/src/switch_xml.cpp index 9ae0a16f77..dc486ee24b 100644 --- a/src/switch_xml.cpp +++ b/src/switch_xml.cpp @@ -1758,7 +1758,7 @@ SWITCH_DECLARE(const char *) switch_xml_error(switch_xml_t xml) // returns a new empty switch_xml structure with the given root tag name SWITCH_DECLARE(switch_xml_t) switch_xml_new(const char *name) { - static char *ent[] = { "lt;", "<", "gt;", ">", "quot;", """, + static const char *ent[] = { "lt;", "<", "gt;", ">", "quot;", """, "apos;", "'", "amp;", "&", NULL }; switch_xml_root_t root = (switch_xml_root_t) memset(malloc(sizeof(struct switch_xml_root)),