projects
/
osmocom-bb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
49cc32b
)
rxlev_stat: Fix compiler warning
author
Harald Welte
<laforge@gnumonks.org>
Sat, 19 Feb 2011 15:35:47 +0000
(16:35 +0100)
committer
Harald Welte
<laforge@gnumonks.org>
Sat, 19 Feb 2011 15:35:47 +0000
(16:35 +0100)
src/rxlev_stat.c
patch
|
blob
|
history
diff --git
a/src/rxlev_stat.c
b/src/rxlev_stat.c
index
1bfd679
..
b474aaa
100644
(file)
--- a/
src/rxlev_stat.c
+++ b/
src/rxlev_stat.c
@@
-68,7
+68,7
@@
int16_t rxlev_stat_get_next(const struct rxlev_stats *st, uint8_t rxlev, int16_t
if (arfcn < 0)
arfcn = -1;
- bv.data = st->rxlev_buckets[rxlev];
+ bv.data =
(uint8_t *)
st->rxlev_buckets[rxlev];
return bitvec_find_bit_pos(&bv, arfcn+1, ONE);
}