From 7c125a5d199a0bc32e5e176d8ad86439f4ad112b Mon Sep 17 00:00:00 2001 From: Michael Jerris Date: Thu, 4 Oct 2007 13:17:56 +0000 Subject: [PATCH] var types, build errors fix. git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5792 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/include/private/switch_core_pvt.h | 2 +- src/switch_console.c | 2 +- src/switch_ivr_async.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/include/private/switch_core_pvt.h b/src/include/private/switch_core_pvt.h index 12c315847e..e71f3dd622 100644 --- a/src/include/private/switch_core_pvt.h +++ b/src/include/private/switch_core_pvt.h @@ -156,7 +156,7 @@ struct switch_runtime { switch_mutex_t *throttle_mutex; uint32_t sps_total; int32_t sps; - uint32_t hard_log_level; + switch_log_level_t hard_log_level; }; extern struct switch_runtime runtime; diff --git a/src/switch_console.c b/src/switch_console.c index f69d42cf87..28057b1cae 100644 --- a/src/switch_console.c +++ b/src/switch_console.c @@ -300,7 +300,7 @@ SWITCH_DECLARE(void) switch_console_loop(void) gethostname(hostname, sizeof(hostname)); while (running) { - uint32_t arg; + int32_t arg; #ifndef _MSC_VER fd_set rfds, efds; struct timeval tv = { 0, 20000 }; diff --git a/src/switch_ivr_async.c b/src/switch_ivr_async.c index ac571f80ca..35b70c5e84 100644 --- a/src/switch_ivr_async.c +++ b/src/switch_ivr_async.c @@ -303,7 +303,7 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_record_session(switch_core_session_t switch_status_t status; time_t to = 0; switch_media_bug_flag_t flags = SMBF_READ_STREAM | SMBF_WRITE_STREAM; - int channels; + uint8_t channels; channel = switch_core_session_get_channel(session); assert(channel != NULL);