[PATCH] 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
Thu Jul 7 13:45:46 UTC 2016


Review at  https://gerrit.osmocom.org/488

fix compiler warning: osmo_prim_cb() has void* arg

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


  git pull ssh://gerrit.osmocom.org:29418/osmo-iuh refs/changes/88/488/1

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: newchange
Gerrit-Change-Id: I16741976050b3f36196af1b4f18d795af2b2722a
Gerrit-PatchSet: 1
Gerrit-Project: osmo-iuh
Gerrit-Branch: master
Gerrit-Owner: Neels Hofmeyr <nhofmeyr at sysmocom.de>



More information about the gerrit-log mailing list