summaryrefslogtreecommitdiffstats
path: root/src/gsm/rxlev_stat.c
diff options
context:
space:
mode:
authorJacob Erlbeck <jerlbeck@sysmocom.de>2015-11-02 11:30:01 +0100
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2015-11-02 15:39:31 +0100
commit16fe8dab7c1fede87f6bdbfbbcbf19f64d60648a (patch)
tree8d810f9ec319dd6a9f0da1bfc96880e30ffa6419 /src/gsm/rxlev_stat.c
parent34eec7da8dd91c2e812863601ca5f787d6589ecb (diff)
stats: Report group indices as unsigned int
Currently the unsigned group index value is silently being cast to (signed) int in the log and statsd reporter code. If the resulting value is negative (which can happen for instance with MMCTX counters), the index is assumed to be unset. This commit changes the affected types to unsigned. The index value 0 is then the only value indicating an unset group. Sponsored-by: On-Waves ehf
Diffstat (limited to 'src/gsm/rxlev_stat.c')
0 files changed, 0 insertions, 0 deletions