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:
Oliver Smith
2025-10-02 09:46:05 +02:00
parent 8d11671539
commit 7db79cc39a
2 changed files with 2 additions and 2 deletions

View File

@@ -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,

View File

@@ -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,