change types for len to uint32_t.

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3799 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Michael Jerris
2006-12-22 19:03:25 +00:00
parent 1198931d48
commit ef36df338d
2 changed files with 4 additions and 4 deletions
@@ -151,11 +151,11 @@ static int parse_exten(switch_core_session_t *session, switch_xml_t xexten, swit
char *application = (char*) switch_xml_attr_soft(xaction, "application");
char *data = (char *) switch_xml_attr_soft(xaction, "data");
char *substituted = NULL;
switch_size_t len = 0;
uint32_t len = 0;
char *app_data = NULL;
if (field && strchr(expression, '(')) {
len = strlen(data) + strlen(field_data) + 10;
len = (uint32_t)(strlen(data) + strlen(field_data) + 10);
if (!(substituted = malloc(len))) {
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_CRIT, "memory error!\n");
proceed = 0;