From: Brian West Date: Wed, 16 Jul 2008 17:50:50 +0000 (+0000) Subject: shut msvc up X-Git-Tag: v1.0.1~109 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=95bab9df923c5e9aba427843a8664cba1eaedca1;p=thirdparty%2Ffreeswitch.git shut msvc up git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9058 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- diff --git a/src/mod/asr_tts/mod_pocketsphinx/mod_pocketsphinx.c b/src/mod/asr_tts/mod_pocketsphinx/mod_pocketsphinx.c index cae5a8b4ff..05a0216dc7 100644 --- a/src/mod/asr_tts/mod_pocketsphinx/mod_pocketsphinx.c +++ b/src/mod/asr_tts/mod_pocketsphinx/mod_pocketsphinx.c @@ -363,7 +363,7 @@ static switch_status_t pocketsphinx_asr_get_results(switch_asr_handle_t *ah, cha switch_clear_flag(ps, PSFLAG_HAS_TEXT); conf = ps_get_prob(ps->ps, &ps->uttid); - lconf = logmath_log_to_ln(ps_get_logmath(ps->ps), conf); + lconf = (int32_t)logmath_log_to_ln(ps_get_logmath(ps->ps), conf); ps->confidence = lconf - lconf - lconf; if (ps->confidence > 100) {