提交 1f8b1ee4 authored 作者: Michael Jerris's avatar Michael Jerris

cast tweak to make compiler happy

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3498 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 693c80fb
...@@ -863,13 +863,13 @@ static JSBool session_recordfile(JSContext *cx, JSObject *obj, uintN argc, jsval ...@@ -863,13 +863,13 @@ static JSBool session_recordfile(JSContext *cx, JSObject *obj, uintN argc, jsval
if (argc > 4) { if (argc > 4) {
int32_t thresh; int32_t thresh;
JS_ValueToInt32(cx, argv[4], &thresh); JS_ValueToInt32(cx, argv[4], &(int32)thresh);
fh.thresh = thresh; fh.thresh = thresh;
} }
if (argc > 5) { if (argc > 5) {
int32_t silence_hits; int32_t silence_hits;
JS_ValueToInt32(cx, argv[5], &silence_hits); JS_ValueToInt32(cx, argv[5], &(int32)silence_hits);
fh.silence_hits = silence_hits; fh.silence_hits = silence_hits;
} }
} }
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论