fix windows build

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5944 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Michael Jerris 2007-10-17 20:14:19 +00:00
parent 50239fd4d8
commit 5884f34806
2 changed files with 3 additions and 2 deletions

View File

@ -417,9 +417,10 @@ SWITCH_DECLARE(switch_status_t) switch_core_init(const char *console, switch_cor
{
switch_xml_t xml = NULL, cfg = NULL;
switch_uuid_t uuid;
memset(&runtime, 0, sizeof(runtime));
char guess_ip[256];
memset(&runtime, 0, sizeof(runtime));
switch_set_flag((&runtime), SCF_NO_NEW_SESSIONS);
runtime.hard_log_level = SWITCH_LOG_DEBUG;

View File

@ -1208,7 +1208,7 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_speak_text_handle(switch_core_session
switch_status_t status = SWITCH_STATUS_SUCCESS;
switch_speech_flag_t flags = SWITCH_SPEECH_FLAG_NONE;
uint32_t rate = 0;
int extra = 0;
switch_size_t extra = 0;
char *p, *tmp = NULL;
char *star, *pound;
switch_size_t starlen, poundlen;