Patch Set 1: I've made it while tracking down possible values for rlc.num_data_blocks which is assigned using CS. The benefit is that stricter type immediately gives reader a hint at the value range which variable can take. It also increase the chance that errors will be spotted by compiler due to type mismatch or by coverity during scan. I can drop it from the patch if you think it's better.
-- To view, visit https://gerrit.osmocom.org/5535 To unsubscribe, visit https://gerrit.osmocom.org/settings Gerrit-MessageType: comment Gerrit-Change-Id: If599a6c8a6ef56d847604fcf41bb71decccd8a78 Gerrit-PatchSet: 1 Gerrit-Project: osmo-pcu Gerrit-Branch: master Gerrit-Owner: Max <msur...@sysmocom.de> Gerrit-Reviewer: Harald Welte <lafo...@gnumonks.org> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: Max <msur...@sysmocom.de> Gerrit-HasComments: No