git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4582 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Brian West 2007-03-13 16:39:30 +00:00
parent f36037697d
commit 3bd2569177
1 changed files with 1 additions and 1 deletions

View 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;
}