aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/ranap_msg_factory.c2
-rw-r--r--src/ranap_msg_factory.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/ranap_msg_factory.c b/src/ranap_msg_factory.c
index 51f923c..634e2a1 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 810bee5..2344b05 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,