mirror of
https://gitea.osmocom.org/cellular-infrastructure/osmo-bts.git
synced 2025-11-02 13:13:27 +00:00
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
This commit is contained in:
@@ -458,7 +458,7 @@ uint32_t trx_get_hlayer1(const struct gsm_bts_trx *trx)
|
||||
{
|
||||
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,
|
||||
|
||||
@@ -473,7 +473,7 @@ uint32_t trx_get_hlayer1(const struct gsm_bts_trx *trx)
|
||||
{
|
||||
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,
|
||||
|
||||
Reference in New Issue
Block a user