osmith has submitted this change. ( 
https://gerrit.osmocom.org/c/osmo-bts/+/41197?usp=email )

Change subject: Fix build with debian 13
......................................................................

Fix build with debian 13

oml.c:461:20: error: returning 'HANDLE' {aka 'void *'} from a function with 
return type 'uint32_t' {aka 'unsigned int'} makes integer from pointer without 
a cast [-Wint-conversion]

Change-Id: I0831e448692713c488c0590a86bdc99b37160f47
---
M src/osmo-bts-lc15/oml.c
M src/osmo-bts-oc2g/oml.c
2 files changed, 2 insertions(+), 2 deletions(-)

Approvals:
  osmith: Looks good to me, approved
  Jenkins Builder: Verified
  fixeria: Looks good to me, but someone else must approve




diff --git a/src/osmo-bts-lc15/oml.c b/src/osmo-bts-lc15/oml.c
index 6f312e8..ce70d3c 100644
--- a/src/osmo-bts-lc15/oml.c
+++ b/src/osmo-bts-lc15/oml.c
@@ -458,7 +458,7 @@
 {
        const struct lc15l1_hdl *fl1h = trx_lc15l1_hdl(trx);

-       return fl1h->hLayer1;
+       return (uint32_t)fl1h->hLayer1;
 }

 static int trx_close_compl_cb(struct gsm_bts_trx *trx, struct msgb *l1_msg,
diff --git a/src/osmo-bts-oc2g/oml.c b/src/osmo-bts-oc2g/oml.c
index 4b434e8..5244b68 100644
--- a/src/osmo-bts-oc2g/oml.c
+++ b/src/osmo-bts-oc2g/oml.c
@@ -473,7 +473,7 @@
 {
        const struct oc2gl1_hdl *fl1h = trx_oc2gl1_hdl(trx);

-       return fl1h->hLayer1;
+       return (uint32_t)fl1h->hLayer1;
 }

 static int trx_close_compl_cb(struct gsm_bts_trx *trx, struct msgb *l1_msg,

--
To view, visit https://gerrit.osmocom.org/c/osmo-bts/+/41197?usp=email
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings?usp=email

Gerrit-MessageType: merged
Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Change-Id: I0831e448692713c488c0590a86bdc99b37160f47
Gerrit-Change-Number: 41197
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <[email protected]>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: dexter <[email protected]>
Gerrit-Reviewer: fixeria <[email protected]>
Gerrit-Reviewer: osmith <[email protected]>

Reply via email to