mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-30 07:04:17 +00:00
cast tweak to make compiler happy
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3498 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
1 parent
693c80fb01
commit
1f8b1ee421
1 file changed
+2
-2
@@ -863,13 +863,13 @@ static JSBool session_recordfile(JSContext *cx, JSObject *obj, uintN argc, jsval
|
||||
|
||||
if (argc > 4) {
|
||||
int32_t thresh;
|
||||
JS_ValueToInt32(cx, argv[4], &thresh);
|
||||
JS_ValueToInt32(cx, argv[4], &(int32)thresh);
|
||||
fh.thresh = thresh;
|
||||
}
|
||||
|
||||
if (argc > 5) {
|
||||
int32_t silence_hits;
|
||||
JS_ValueToInt32(cx, argv[5], &silence_hits);
|
||||
JS_ValueToInt32(cx, argv[5], &(int32)silence_hits);
|
||||
fh.silence_hits = silence_hits;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user