提交 ba2f8aa8 authored 作者: Michael Jerris's avatar Michael Jerris

change to mod_softimer name again, remove mod_threadtimer, fix int overflow.

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2716 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 f1313548
差异被折叠。
......@@ -45,7 +45,7 @@ static const char modname[] = "mod_softtimer";
#define MAX_ELEMENTS 1000
struct timer_private {
uint32_t reference;
uint64_t reference;
};
typedef struct timer_private timer_private_t;
......
......@@ -810,7 +810,7 @@ static int rtp_common_read(switch_rtp_t *rtp_session, switch_payload_t *payload_
}
if (rtp_session->timer.interval) {
check = (switch_core_timer_check(&rtp_session->timer) == SWITCH_STATUS_SUCCESS);
check = (uint8_t)(switch_core_timer_check(&rtp_session->timer) == SWITCH_STATUS_SUCCESS);
}
if (check) {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论