提交 3bd25691 authored 作者: Brian West's avatar Brian West

fix type

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4582 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 f3603769
...@@ -1301,7 +1301,7 @@ static JSBool session_get_digits(JSContext *cx, JSObject *obj, uintN argc, jsval ...@@ -1301,7 +1301,7 @@ static JSBool session_get_digits(JSContext *cx, JSObject *obj, uintN argc, jsval
JS_ValueToInt32(cx, argv[0], &digits); JS_ValueToInt32(cx, argv[0], &digits);
if (digits > sizeof(buf) - 1) { 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; return JS_FALSE;
} }
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论