summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2011-02-19 16:35:47 +0100
committerHarald Welte <laforge@gnumonks.org>2011-02-19 16:35:47 +0100
commit7c3b8fb441943a47a4fb57ee67251c24c84e41ee (patch)
tree0483484d6bc283033a15d839a019534f44b068df
parent49cc32b0a3ceee4dad17d2910b7e9de29ac65db7 (diff)
rxlev_stat: Fix compiler warning
-rw-r--r--src/rxlev_stat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rxlev_stat.c b/src/rxlev_stat.c
index 1bfd6795..b474aaa8 100644
--- 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);
}