Commit 48ed954e authored by Pekka Pessi's avatar Pekka Pessi

nua: using isize_t, size_t.

darcs-hash:20060906224631-65a35-9bff3d99f562ad2a6caf88b8ef3c80b4133e1b94.gz
parent 95b0218b
......@@ -1146,7 +1146,7 @@ void nua_signal(nua_t *nua, nua_handle_t *nh, msg_t *msg, int always,
tag_type_t tag, tag_value_t value, ...)
{
su_msg_r sumsg = SU_MSG_R_INIT;
int len, xtra, e_len, l_len = 0, l_xtra = 0;
size_t len, xtra, e_len, l_len = 0, l_xtra = 0;
ta_list ta;
if (nua == NULL || (nua->nua_shutdown_started && event != nua_r_shutdown))
......
......@@ -1657,7 +1657,7 @@ static char *nua_handle_features(nua_handle_t *nh)
/* Skip ";" if this is first one */
su_strlst_append(l, ";methods=\"" + (su_strlst_len(l) == 0));
if (allow->k_items) {
int i;
size_t i;
for (i = 0; allow->k_items[i]; i++) {
su_strlst_append(l, allow->k_items[i]);
if (allow->k_items[i + 1])
......
......@@ -1744,7 +1744,7 @@ set_session_timer(nua_handle_t *nh)
}
else {
ss->ss_timer_set = 0;
nua_dialog_usage_set_expires(du, SIP_TIME_MAX);
nua_dialog_usage_set_expires(du, UINT_MAX);
nua_dialog_usage_no_refresh(du);
}
}
......@@ -2572,7 +2572,7 @@ int session_make_description(su_home_t *home,
sip_payload_t **return_pl)
{
char const *sdp;
int len;
isize_t len;
if (!soa)
return 0;
......@@ -2695,7 +2695,7 @@ int session_process_request(nua_handle_t *nh,
sip_t const *sip)
{
char const *sdp = NULL;
int len;
isize_t len;
if (nh->nh_soa) {
msg_t *msg = nta_outgoing_getresponse(irq);
......
......@@ -253,7 +253,7 @@ int nua_stack_event(nua_t *nua, nua_handle_t *nh, msg_t *msg,
su_msg_r sumsg = SU_MSG_R_INIT;
ta_list ta;
int e_len, len, xtra, p_len;
size_t e_len, len, xtra, p_len;
enter;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment