fix msvc 2005 core warnings

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11991 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Michael Jerris committed 2009-02-13 19:03:34 +00:00
1 parent 156f02924d
commit 89a2799c98
3 files changed
+6 -5

No files matched your search

+1 -1
View File
@@ -933,7 +933,7 @@ static switch_xml_t add_xml_header(switch_xml_t xml, char *name, char *value, in
switch_xml_t header = switch_xml_add_child_d(xml, name, offset);
if (header) {
int encode_len = (strlen(value) * 3) + 1;
switch_size_t encode_len = (strlen(value) * 3) + 1;
char *encode_buf = malloc(encode_len);
switch_assert(encode_buf);