summaryrefslogtreecommitdiffstats
path: root/src/host/trxcon/sched_lchan_sch.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/host/trxcon/sched_lchan_sch.c')
-rw-r--r--src/host/trxcon/sched_lchan_sch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/host/trxcon/sched_lchan_sch.c b/src/host/trxcon/sched_lchan_sch.c
index e1977e1d..9eed506b 100644
--- a/src/host/trxcon/sched_lchan_sch.c
+++ b/src/host/trxcon/sched_lchan_sch.c
@@ -47,7 +47,7 @@ static void decode_sb(struct gsm_time *time, uint8_t *bsic, uint8_t *sb_info)
uint8_t t3p;
uint32_t sb;
- sb = (sb_info[3] << 24)
+ sb = ((uint32_t)sb_info[3] << 24)
| (sb_info[2] << 16)
| (sb_info[1] << 8)
| sb_info[0];