提交 7c125a5d authored 作者: Michael Jerris's avatar Michael Jerris

var types, build errors fix.

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5792 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 be32b663
...@@ -156,7 +156,7 @@ struct switch_runtime { ...@@ -156,7 +156,7 @@ struct switch_runtime {
switch_mutex_t *throttle_mutex; switch_mutex_t *throttle_mutex;
uint32_t sps_total; uint32_t sps_total;
int32_t sps; int32_t sps;
uint32_t hard_log_level; switch_log_level_t hard_log_level;
}; };
extern struct switch_runtime runtime; extern struct switch_runtime runtime;
......
...@@ -300,7 +300,7 @@ SWITCH_DECLARE(void) switch_console_loop(void) ...@@ -300,7 +300,7 @@ SWITCH_DECLARE(void) switch_console_loop(void)
gethostname(hostname, sizeof(hostname)); gethostname(hostname, sizeof(hostname));
while (running) { while (running) {
uint32_t arg; int32_t arg;
#ifndef _MSC_VER #ifndef _MSC_VER
fd_set rfds, efds; fd_set rfds, efds;
struct timeval tv = { 0, 20000 }; struct timeval tv = { 0, 20000 };
......
...@@ -303,7 +303,7 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_record_session(switch_core_session_t ...@@ -303,7 +303,7 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_record_session(switch_core_session_t
switch_status_t status; switch_status_t status;
time_t to = 0; time_t to = 0;
switch_media_bug_flag_t flags = SMBF_READ_STREAM | SMBF_WRITE_STREAM; switch_media_bug_flag_t flags = SMBF_READ_STREAM | SMBF_WRITE_STREAM;
int channels; uint8_t channels;
channel = switch_core_session_get_channel(session); channel = switch_core_session_get_channel(session);
assert(channel != NULL); assert(channel != NULL);
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论