Commit 34e246b1 authored by wujing's avatar wujing Committed by Haruki NAOI

Fix cppcheck warning

(cherry picked from commit aaa4d390fdefc4e8071b80edc90a580907c9dec3)
parent 8837658a
...@@ -327,12 +327,12 @@ void s1ap_eNB_handle_sctp_association_resp(instance_t instance, sctp_new_associa ...@@ -327,12 +327,12 @@ void s1ap_eNB_handle_sctp_association_resp(instance_t instance, sctp_new_associa
if( itti_send_msg_to_task(TASK_RRC_ENB, ue_p->eNB_instance->instance, message_p) < 0 ) if( itti_send_msg_to_task(TASK_RRC_ENB, ue_p->eNB_instance->instance, message_p) < 0 )
{ {
S1AP_ERROR("UE Context Release Command Transmission Failure: eNB_ue_s1ap_id=%d\n", ue_p->eNB_ue_s1ap_id); S1AP_ERROR("UE Context Release Command Transmission Failure: eNB_ue_s1ap_id=%u\n", ue_p->eNB_ue_s1ap_id);
} }
} }
else else
{ {
S1AP_ERROR("Invalid message_p : eNB_ue_s1ap_id=%d\n", ue_p->eNB_ue_s1ap_id); S1AP_ERROR("Invalid message_p : eNB_ue_s1ap_id=%u\n", ue_p->eNB_ue_s1ap_id);
} }
} }
} }
......
...@@ -82,11 +82,11 @@ int s1ap_timer_timeout(sigval_t info) ...@@ -82,11 +82,11 @@ int s1ap_timer_timeout(sigval_t info)
if( pthread_mutex_unlock(&timer_desc.timer_list_mutex) != 0 ) if( pthread_mutex_unlock(&timer_desc.timer_list_mutex) != 0 )
{ {
S1AP_ERROR("Failed to mutex unlock timeout=%x\n", timer_kind); S1AP_ERROR("Failed to mutex unlock timeout=0x%x\n", timer_kind);
} }
if (timer_p == NULL) if (timer_p == NULL)
{ {
S1AP_ERROR("Didn't find timer 0x%lx in list\n", timer_kind); S1AP_ERROR("Didn't find timer 0x%x in list\n", timer_kind);
return -1; return -1;
} }
......
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