aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2018-06-10 21:23:35 +0200
committerPau Espin Pedrol <pespin@sysmocom.de>2018-06-11 12:56:30 +0200
commitd03f3114069ba2c944ba79d3ca5b77669da51821 (patch)
treecb20e76545ecc77de6407925534ebb1fe6dc146c
parentf926d9549c5cc346c62e66a68305464a82ecfa48 (diff)
lc15: Fix incorrect cast of hLayer1
-rw-r--r--src/osmo-bts-litecell15/oml.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/osmo-bts-litecell15/oml.c b/src/osmo-bts-litecell15/oml.c
index 7a5fa1bb..da6c60e8 100644
--- a/src/osmo-bts-litecell15/oml.c
+++ b/src/osmo-bts-litecell15/oml.c
@@ -348,7 +348,7 @@ static int trx_init_compl_cb(struct gsm_bts_trx *trx, struct msgb *l1_msg,
bts_shutdown(trx->bts, "MPH-INIT failure");
}
- fl1h->hLayer1 = (uint32_t)ic->hLayer1;
+ fl1h->hLayer1 = ic->hLayer1;
/* If the TRX was already locked the MphInit would have undone it */
if (trx->mo.nm_state.administrative == NM_STATE_LOCKED)