From 46c3aab5c8d672561c637efcd521dca87d278296 Mon Sep 17 00:00:00 2001 From: Michael Jerris Date: Thu, 10 Apr 2008 07:37:42 +0000 Subject: [PATCH] msvc build fixes git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8080 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- .../asr_tts/mod_openmrcp/mod_openmrcp.vcproj | 200 +++++++++++++++++- src/switch_ivr_play_say.c | 2 +- 2 files changed, 197 insertions(+), 5 deletions(-) diff --git a/src/mod/asr_tts/mod_openmrcp/mod_openmrcp.vcproj b/src/mod/asr_tts/mod_openmrcp/mod_openmrcp.vcproj index b17e76e628..13a1f7126a 100644 --- a/src/mod/asr_tts/mod_openmrcp/mod_openmrcp.vcproj +++ b/src/mod/asr_tts/mod_openmrcp/mod_openmrcp.vcproj @@ -21,16 +21,64 @@ InheritedPropertySheets="..\..\..\..\w32\module_debug.vsprops" CharacterSet="2" > + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/switch_ivr_play_say.c b/src/switch_ivr_play_say.c index 9703e508e9..3b5c5ead91 100644 --- a/src/switch_ivr_play_say.c +++ b/src/switch_ivr_play_say.c @@ -1776,7 +1776,7 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_soft_hold(switch_core_session_t *sess switch_input_args_t args = { 0 }; args.input_callback = hold_on_dtmf; args.buf = (void *) unhold_key; - args.buflen = strlen(unhold_key); + args.buflen = (uint32_t)strlen(unhold_key); switch_assert(session != NULL); channel = switch_core_session_get_channel(session);