mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-08-13 17:38:59 +00:00
up the warning level.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3072 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
@@ -395,7 +395,7 @@ static ldl_status parse_session_code(ldl_handle_t *handle, char *id, char *from,
|
||||
session->candidates[index].address = apr_pstrdup(session->pool, key);
|
||||
}
|
||||
if ((key = iks_find_attrib(tag, "port"))) {
|
||||
session->candidates[index].port = atoi(key);
|
||||
session->candidates[index].port = (uint16_t)atoi(key);
|
||||
}
|
||||
if (globals.debug) {
|
||||
globals.logger(DL_LOG_DEBUG,
|
||||
@@ -1185,7 +1185,7 @@ unsigned int ldl_session_candidates(ldl_session_t *session,
|
||||
|
||||
{
|
||||
iks *iq, *sess, *tag;
|
||||
unsigned int x, id;
|
||||
unsigned int x, id = 0;
|
||||
|
||||
|
||||
for (x = 0; x < clen; x++) {
|
||||
@@ -1408,7 +1408,7 @@ void ldl_global_set_log_stream(FILE *log_stream)
|
||||
|
||||
int8_t ldl_handle_ready(ldl_handle_t *handle)
|
||||
{
|
||||
return ldl_test_flag(handle, LDL_FLAG_READY);
|
||||
return (int8_t)ldl_test_flag(handle, LDL_FLAG_READY);
|
||||
}
|
||||
|
||||
ldl_status ldl_handle_init(ldl_handle_t **handle,
|
||||
@@ -1454,7 +1454,7 @@ ldl_status ldl_handle_init(ldl_handle_t **handle,
|
||||
new_handle->server = apr_pstrdup(pool, server);
|
||||
if ((p = strchr(new_handle->server, ':'))) {
|
||||
*p++ = '\0';
|
||||
new_handle->port = atoi(p);
|
||||
new_handle->port = (uint16_t)atoi(p);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user