Patch Set 4:

(1 comment)

https://gerrit.osmocom.org/#/c/3828/4/src/libbsc/abis_rsl.c
File src/libbsc/abis_rsl.c:

Line 1228: int rsl_lchan_set_state_with_log(struct gsm_lchan *lchan, uint8_t 
state, const char *file, unsigned line)
why are we changing from an 'int' to an uint8_t here? The gsm_lchan.state 
menmber is of type "enum gsm_lchan_state", so "int" is actually closer to the 
truth than uint8_t.  And if you want to make a "proper" change, then they 
argument type should be of "enum gsm_lchan_state", no?


-- 
To view, visit https://gerrit.osmocom.org/3828
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: I21789f8021290965b61a54a2b23177ccbbfe8321
Gerrit-PatchSet: 4
Gerrit-Project: osmo-bsc
Gerrit-Branch: master
Gerrit-Owner: Max <[email protected]>
Gerrit-Reviewer: Harald Welte <[email protected]>
Gerrit-Reviewer: Holger Freyther <[email protected]>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: Max <[email protected]>
Gerrit-Reviewer: Neels Hofmeyr <[email protected]>
Gerrit-HasComments: Yes

Reply via email to