rlc: replace int with uint16_t
The i value will only count forward and is limited to 11 bit. The integer is also converted when returning to uint16_t Change-Id: Ib8a9081bbcb8b4344498254c58941002d17f9381
This commit is contained in:
parent
1f0ca54bba
commit
0d482c5c97
|
@ -91,7 +91,7 @@ int gprs_rlc_dl_window::mark_for_resend()
|
||||||
/* Update the receive block bitmap */
|
/* Update the receive block bitmap */
|
||||||
uint16_t gprs_rlc_ul_window::update_egprs_rbb(uint8_t *rbb)
|
uint16_t gprs_rlc_ul_window::update_egprs_rbb(uint8_t *rbb)
|
||||||
{
|
{
|
||||||
int i;
|
uint16_t i;
|
||||||
uint16_t bsn;
|
uint16_t bsn;
|
||||||
uint16_t bitmask = 0x80;
|
uint16_t bitmask = 0x80;
|
||||||
int8_t pos = 0;
|
int8_t pos = 0;
|
||||||
|
|
Loading…
Reference in New Issue