]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
var types, build errors fix.
authorMichael Jerris <mike@jerris.com>
Thu, 4 Oct 2007 13:17:56 +0000 (13:17 +0000)
committerMichael Jerris <mike@jerris.com>
Thu, 4 Oct 2007 13:17:56 +0000 (13:17 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5792 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/include/private/switch_core_pvt.h
src/switch_console.c
src/switch_ivr_async.c

index 12c315847eb027c154d17876b652ad9f211db61b..e71f3dd622f402a9e176482f4f6e3bf586a31e57 100644 (file)
@@ -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;
index f69d42cf87d3acf0f6569f06dae66112e87470a3..28057b1cae331b0c87ee3a8f907692647e343713 100644 (file)
@@ -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 };
index ac571f80ca67d074f84e61d12c158f22148c9e9c..35b70c5e8440d8f48e7fa55a6318d40f7e882a45 100644 (file)
@@ -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);