From 253e6fecb6c43a510a509bc65300a6eb2d5bf63d Mon Sep 17 00:00:00 2001 From: Pau Espin Pedrol Date: Sat, 18 Jan 2020 13:25:28 +0100 Subject: 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 --- include/osmocom/sccp/sccp_types.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 */ -- cgit v1.2.3