minor: warnings removal
It seems that ciphering_algorithm is "unsigned int" in RRC Rel10 and "unsigned long" in RRC Rel14 (as processed by asn1c) Let's force it to unsigned long in the log to avoid compilation-time warnings.
This commit is contained in:
@@ -290,7 +290,7 @@ rrc_eNB_process_security(
|
|||||||
"[eNB %d] NAS security_capabilities.encryption_algorithms %u AS ciphering_algorithm %lu NAS security_capabilities.integrity_algorithms %u AS integrity_algorithm %u\n",
|
"[eNB %d] NAS security_capabilities.encryption_algorithms %u AS ciphering_algorithm %lu NAS security_capabilities.integrity_algorithms %u AS integrity_algorithm %u\n",
|
||||||
ctxt_pP->module_id,
|
ctxt_pP->module_id,
|
||||||
ue_context_pP->ue_context.security_capabilities.encryption_algorithms,
|
ue_context_pP->ue_context.security_capabilities.encryption_algorithms,
|
||||||
ue_context_pP->ue_context.ciphering_algorithm,
|
(unsigned long)ue_context_pP->ue_context.ciphering_algorithm,
|
||||||
ue_context_pP->ue_context.security_capabilities.integrity_algorithms,
|
ue_context_pP->ue_context.security_capabilities.integrity_algorithms,
|
||||||
ue_context_pP->ue_context.integrity_algorithm);
|
ue_context_pP->ue_context.integrity_algorithm);
|
||||||
/* Select relevant algorithms */
|
/* Select relevant algorithms */
|
||||||
@@ -312,7 +312,7 @@ rrc_eNB_process_security(
|
|||||||
ctxt_pP->module_id,
|
ctxt_pP->module_id,
|
||||||
ue_context_pP->ue_context.rnti,
|
ue_context_pP->ue_context.rnti,
|
||||||
security_capabilities_pP,
|
security_capabilities_pP,
|
||||||
cipheringAlgorithm,
|
(unsigned long)cipheringAlgorithm,
|
||||||
integrityProtAlgorithm,
|
integrityProtAlgorithm,
|
||||||
changed ? "changed" : "same");
|
changed ? "changed" : "same");
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user