fix windows compiler warnings
This commit is contained in:
parent
7fb4369932
commit
adf5e2f6ec
|
@ -2301,10 +2301,10 @@ SWITCH_DECLARE(switch_core_session_t *) switch_core_session_request_uuid(switch_
|
|||
session->id = session_manager.session_id++;
|
||||
session_manager.session_count++;
|
||||
|
||||
if (session_manager.session_count > runtime.sessions_peak) {
|
||||
if (session_manager.session_count > (uint32_t)runtime.sessions_peak) {
|
||||
runtime.sessions_peak = session_manager.session_count;
|
||||
}
|
||||
if (session_manager.session_count > runtime.sessions_peak_fivemin) {
|
||||
if (session_manager.session_count > (uint32_t)runtime.sessions_peak_fivemin) {
|
||||
runtime.sessions_peak_fivemin = session_manager.session_count;
|
||||
}
|
||||
|
||||
|
|
|
@ -3247,7 +3247,7 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_set_user_xml(switch_core_session_t *s
|
|||
|
||||
SWITCH_DECLARE(switch_status_t) switch_ivr_set_user(switch_core_session_t *session, const char *data)
|
||||
{
|
||||
switch_xml_t x_user;
|
||||
switch_xml_t x_user = 0;
|
||||
char *user, *domain;
|
||||
switch_status_t status = SWITCH_STATUS_FALSE;
|
||||
|
||||
|
|
Loading…
Reference in New Issue