[Freeswitch-svn] [commit] r9058 - freeswitch/trunk/src/mod/asr_tts/mod_pocketsphinx

Freeswitch SVN brian at freeswitch.org
Wed Jul 16 13:50:51 EDT 2008


Author: brian
Date: Wed Jul 16 13:50:50 2008
New Revision: 9058

Modified:
   freeswitch/trunk/src/mod/asr_tts/mod_pocketsphinx/mod_pocketsphinx.c

Log:
shut msvc up

Modified: freeswitch/trunk/src/mod/asr_tts/mod_pocketsphinx/mod_pocketsphinx.c
==============================================================================
--- freeswitch/trunk/src/mod/asr_tts/mod_pocketsphinx/mod_pocketsphinx.c	(original)
+++ freeswitch/trunk/src/mod/asr_tts/mod_pocketsphinx/mod_pocketsphinx.c	Wed Jul 16 13:50:50 2008
@@ -363,7 +363,7 @@
 		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) {



More information about the Freeswitch-svn mailing list