aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2020-01-18 13:25:28 +0100
committerPau Espin Pedrol <pespin@sysmocom.de>2020-01-18 13:25:30 +0100
commit253e6fecb6c43a510a509bc65300a6eb2d5bf63d (patch)
tree631f815e69b967bc40be7158cac7a9328d5805d7
parentc18befb0e32f4566adee2435483d05cc0cc6b326 (diff)
sccp: Fix wrong param type in osmo_sccp_pnc_name()
Wrong type was used when the function was introduced a few commits ago. Fixes: 5a7eb34f735e0ae93a74da3bc8361454457e49cdi Closes: CID#207712 Change-Id: Ie9b89483158dd6b988e4c34b497bf3b231c15cd3
-rw-r--r--include/osmocom/sccp/sccp_types.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/osmocom/sccp/sccp_types.h b/include/osmocom/sccp/sccp_types.h
index f43f822..09bf271 100644
--- a/include/osmocom/sccp/sccp_types.h
+++ b/include/osmocom/sccp/sccp_types.h
@@ -81,7 +81,7 @@ enum sccp_parameter_name_codes {
};
extern const struct value_string osmo_sccp_pnc_names[];
-static inline const char *osmo_sccp_pnc_name(enum sccp_message_types val)
+static inline const char *osmo_sccp_pnc_name(enum sccp_parameter_name_codes val)
{ return get_value_string(osmo_sccp_pnc_names, val); }
/* Figure 3/Q.713 Called/calling party address */