[Freeswitch-svn] [commit] r5944 - freeswitch/trunk/src

Freeswitch SVN mikej at freeswitch.org
Wed Oct 17 16:14:19 EDT 2007


Author: mikej
Date: Wed Oct 17 16:14:19 2007
New Revision: 5944

Modified:
   freeswitch/trunk/src/switch_core.c
   freeswitch/trunk/src/switch_ivr_play_say.c

Log:
fix windows build

Modified: freeswitch/trunk/src/switch_core.c
==============================================================================
--- freeswitch/trunk/src/switch_core.c	(original)
+++ freeswitch/trunk/src/switch_core.c	Wed Oct 17 16:14:19 2007
@@ -417,9 +417,10 @@
 {
 	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;
 

Modified: freeswitch/trunk/src/switch_ivr_play_say.c
==============================================================================
--- freeswitch/trunk/src/switch_ivr_play_say.c	(original)
+++ freeswitch/trunk/src/switch_ivr_play_say.c	Wed Oct 17 16:14:19 2007
@@ -1208,7 +1208,7 @@
 	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;



More information about the Freeswitch-svn mailing list