]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
fix type
authorBrian West <brian@freeswitch.org>
Tue, 13 Mar 2007 16:39:30 +0000 (16:39 +0000)
committerBrian West <brian@freeswitch.org>
Tue, 13 Mar 2007 16:39:30 +0000 (16:39 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4582 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/mod/languages/mod_spidermonkey/mod_spidermonkey.c

index c22527dca49769661b07353edc2d9ac569f02bc1..b4695354a28b2e151b8b89c5794981d963ab7b00 100644 (file)
@@ -1301,7 +1301,7 @@ static JSBool session_get_digits(JSContext *cx, JSObject *obj, uintN argc, jsval
                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;
                }