mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-20 10:14:14 +00:00
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:
1 parent
156f02924d
commit
89a2799c98
3 files changed
+6
-5
No files matched your search
+1
-1
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user