update it
Some checks are pending
Meson Continuous Integration / Build and Test on Ubuntu Latest (push) Waiting to run

This commit is contained in:
Sukchan Lee 2026-04-28 10:39:21 +09:00
parent 435ece6922
commit dd7118c7c7
2 changed files with 2 additions and 1 deletions

View file

@ -44,6 +44,7 @@ void *ogs_asn_calloc_type(const asn_TYPE_descriptor_t *td)
size = ((const asn_SET_OF_specifics_t *)td->specifics)->struct_size;
break;
default:
ogs_fatal("kind:%d", td->op->kind);
ogs_assert_if_reached();
}

View file

@ -199,7 +199,7 @@ void ogs_s1ap_build_part_of_s1_interface(
partOfS1_Interface = *list;
ogs_assert(partOfS1_Interface);
ie = CALLOC(1, sizeof(S1AP_UE_associatedLogicalS1_ConnectionItemRes_t));
ie = ogs_asn_calloc_type(&asn_DEF_S1AP_UE_associatedLogicalS1_ConnectionItemRes);
ASN_SEQUENCE_ADD(&partOfS1_Interface->list, ie);
ie->id = S1AP_ProtocolIE_ID_id_UE_associatedLogicalS1_ConnectionItem;