Change in libosmo-sccp[master]: sccp: Fix wrong param type in osmo_sccp_pnc_name()

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

pespin gerrit-no-reply at lists.osmocom.org
Sun Jan 19 16:08:17 UTC 2020


pespin has submitted this change. ( https://gerrit.osmocom.org/c/libosmo-sccp/+/16924 )

Change subject: sccp: Fix wrong param type in osmo_sccp_pnc_name()
......................................................................

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
---
M include/osmocom/sccp/sccp_types.h
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Jenkins Builder: Verified
  fixeria: Looks good to me, approved



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 @@
 };
 
 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 */

-- 
To view, visit https://gerrit.osmocom.org/c/libosmo-sccp/+/16924
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: libosmo-sccp
Gerrit-Branch: master
Gerrit-Change-Id: Ie9b89483158dd6b988e4c34b497bf3b231c15cd3
Gerrit-Change-Number: 16924
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin at sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <axilirator at gmail.com>
Gerrit-Reviewer: pespin <pespin at sysmocom.de>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20200119/ab09cda0/attachment.htm>


More information about the gerrit-log mailing list