commit | 16fe8dab7c1fede87f6bdbfbbcbf19f64d60648a | [log] [tgz] |
---|---|---|
author | Jacob Erlbeck <jerlbeck@sysmocom.de> | Mon Nov 02 11:30:01 2015 +0100 |
committer | Holger Hans Peter Freyther <holger@moiji-mobile.com> | Mon Nov 02 15:39:31 2015 +0100 |
tree | 8d810f9ec319dd6a9f0da1bfc96880e30ffa6419 | |
parent | 34eec7da8dd91c2e812863601ca5f787d6589ecb [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