pespin has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-bsc/+/27932 )
Change subject: bts: Use uint8_t instead of int for ccch_load_ind_thresh ......................................................................
bts: Use uint8_t instead of int for ccch_load_ind_thresh
The range used for this variable is 0-100, so no need to use a signed integer. Morever, uint8_it is enough for the range.
Change-Id: I863d9531baf5308b45a2ebe60266ba02d1041cc3 --- M include/osmocom/bsc/bts.h 1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-bsc refs/changes/32/27932/1
diff --git a/include/osmocom/bsc/bts.h b/include/osmocom/bsc/bts.h index 95d9b05..4c1127b 100644 --- a/include/osmocom/bsc/bts.h +++ b/include/osmocom/bsc/bts.h @@ -472,7 +472,7 @@ } gprs;
/* threshold (in percent) when BTS shall send CCCH LOAD IND */ - int ccch_load_ind_thresh; + uint8_t ccch_load_ind_thresh;
/* RACH NM values */ int rach_b_thresh;