[MERGED] osmo-iuh[master]: fix compiler warning: osmo_prim_cb() has void* arg

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/.

Neels Hofmeyr gerrit-no-reply at lists.osmocom.org
Wed Jul 13 12:31:19 UTC 2016


Neels Hofmeyr has submitted this change and it was merged.

Change subject: fix compiler warning: osmo_prim_cb() has void* arg
......................................................................


fix compiler warning: osmo_prim_cb() has void* arg

Change-Id: I16741976050b3f36196af1b4f18d795af2b2722a
---
M src/hnbgw_cn.c
1 file changed, 2 insertions(+), 1 deletion(-)

Approvals:
  Harald Welte: Looks good to me, approved
  Jenkins Builder: Verified
  Holger Freyther: Looks good to me, approved



diff --git a/src/hnbgw_cn.c b/src/hnbgw_cn.c
index 61db35d..09b2726 100644
--- a/src/hnbgw_cn.c
+++ b/src/hnbgw_cn.c
@@ -327,8 +327,9 @@
 }
 
 /* Entry point for primitives coming up from SCCP User SAP */
-static int sccp_sap_up(struct osmo_prim_hdr *oph, struct osmo_sccp_link *slink)
+static int sccp_sap_up(struct osmo_prim_hdr *oph, void *ctx)
 {
+	struct osmo_sccp_link *slink = ctx;
 	struct hnbgw_cnlink *cnlink = osmo_sua_link_get_user_priv(slink);
 	struct osmo_scu_prim *prim = (struct osmo_scu_prim *) oph;
 	int rc;

-- 
To view, visit https://gerrit.osmocom.org/488
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I16741976050b3f36196af1b4f18d795af2b2722a
Gerrit-PatchSet: 2
Gerrit-Project: osmo-iuh
Gerrit-Branch: master
Gerrit-Owner: Neels Hofmeyr <nhofmeyr at sysmocom.de>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Holger Freyther <holger at freyther.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: Neels Hofmeyr <nhofmeyr at sysmocom.de>



More information about the gerrit-log mailing list