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:
Michael Jerris 2006-11-30 22:57:16 +00:00
parent 693c80fb01
commit 1f8b1ee421
1 changed files with 2 additions and 2 deletions

View File

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