diff --git a/src/ranap_msg_factory.c b/src/ranap_msg_factory.c index 51f923c3..634e2a19 100644 --- a/src/ranap_msg_factory.c +++ b/src/ranap_msg_factory.c @@ -40,7 +40,7 @@ static long *new_long(long in) /*! \brief generate RANAP RESET message */ struct msgb *ranap_new_msg_reset(RANAP_CN_DomainIndicator_t domain, - RANAP_Cause_t *cause) + const RANAP_Cause_t *cause) { RANAP_ResetIEs_t ies; RANAP_Reset_t out; diff --git a/src/ranap_msg_factory.h b/src/ranap_msg_factory.h index 810bee57..2344b056 100644 --- a/src/ranap_msg_factory.h +++ b/src/ranap_msg_factory.h @@ -28,7 +28,7 @@ struct msgb *ranap_new_msg_rab_assign_data(uint8_t rab_id, uint32_t gtp_ip, uint /*! \brief generate RANAP RESET message */ struct msgb *ranap_new_msg_reset(RANAP_CN_DomainIndicator_t domain, - RANAP_Cause_t *cause); + const RANAP_Cause_t *cause); /*! \brief generate RANAP RESET ACK message */ struct msgb *ranap_new_msg_reset_ack(RANAP_CN_DomainIndicator_t domain,