[Freeswitch-svn] [commit] r3498 - freeswitch/trunk/src/mod/languages/mod_spidermonkey

Freeswitch SVN mikej at freeswitch.org
Thu Nov 30 17:57:17 EST 2006


Author: mikej
Date: Thu Nov 30 17:57:16 2006
New Revision: 3498

Modified:
   freeswitch/trunk/src/mod/languages/mod_spidermonkey/mod_spidermonkey.c

Log:
cast tweak to make compiler happy

Modified: freeswitch/trunk/src/mod/languages/mod_spidermonkey/mod_spidermonkey.c
==============================================================================
--- freeswitch/trunk/src/mod/languages/mod_spidermonkey/mod_spidermonkey.c	(original)
+++ freeswitch/trunk/src/mod/languages/mod_spidermonkey/mod_spidermonkey.c	Thu Nov 30 17:57:16 2006
@@ -863,13 +863,13 @@
 
         if (argc > 4) {
             int32_t thresh;
-            JS_ValueToInt32(cx, argv[4], &thresh);
+            JS_ValueToInt32(cx, argv[4], &(int32)thresh);
             fh.thresh = thresh;
         }
 
         if (argc > 5) {
             int32_t silence_hits;
-            JS_ValueToInt32(cx, argv[5], &silence_hits);
+            JS_ValueToInt32(cx, argv[5], &(int32)silence_hits);
             fh.silence_hits = silence_hits;
         }
 	}



More information about the Freeswitch-svn mailing list