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

Freeswitch SVN brian at freeswitch.org
Tue Mar 13 12:39:31 EDT 2007


Author: brian
Date: Tue Mar 13 12:39:30 2007
New Revision: 4582

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

Log:
fix type

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	Tue Mar 13 12:39:30 2007
@@ -1301,7 +1301,7 @@
 		JS_ValueToInt32(cx, argv[0], &digits);
 
 		if (digits > sizeof(buf) - 1) {
-			switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Exceeded max digits of %d\n",  sizeof(buf) - 1);
+			switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Exceeded max digits of %ld\n",  sizeof(buf) - 1);
 			return JS_FALSE;
 		}
 		



More information about the Freeswitch-svn mailing list