From 6b2a15665146e771da39778ec382ed3864aa18c9 Mon Sep 17 00:00:00 2001 From: Michael Jerris Date: Wed, 14 Dec 2005 01:52:04 +0000 Subject: [PATCH] add event system to msvc project files, make build and fix a warning. git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@147 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/mod/mod_exosip/mod_exosip.c | 2 +- w32/vsnet/FreeSwitchCore.vcproj | 8 ++++++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/src/mod/mod_exosip/mod_exosip.c b/src/mod/mod_exosip/mod_exosip.c index b4196bee0c..a5e1b376fe 100644 --- a/src/mod/mod_exosip/mod_exosip.c +++ b/src/mod/mod_exosip/mod_exosip.c @@ -573,7 +573,7 @@ static switch_status exosip_read_frame(switch_core_session *session, switch_fram samples = frames * tech_pvt->read_codec.implementation->samples_per_frame; ms = frames * tech_pvt->read_codec.implementation->microseconds_per_frame; tech_pvt->timestamp_recv += (int32_t)samples; - tech_pvt->read_frame.samples = samples; + tech_pvt->read_frame.samples = (int)samples; break; } diff --git a/w32/vsnet/FreeSwitchCore.vcproj b/w32/vsnet/FreeSwitchCore.vcproj index beeb73ef64..e5c69d2d6a 100644 --- a/w32/vsnet/FreeSwitchCore.vcproj +++ b/w32/vsnet/FreeSwitchCore.vcproj @@ -214,6 +214,10 @@ RelativePath="..\..\src\switch_core.c" > + + @@ -260,6 +264,10 @@ RelativePath="..\..\src\include\switch_core.h" > + +