plugins types BUGFIX cast warning
diff --git a/src/plugins_types/bits.c b/src/plugins_types/bits.c
index ddfad8c..88fd218 100644
--- a/src/plugins_types/bits.c
+++ b/src/plugins_types/bits.c
@@ -228,7 +228,7 @@
bit_pos = 0;
for (i = 0; i < bitmap_size; ++i) {
/* check this byte (but not necessarily all bits in the last byte) */
- byte = BITS_BITMAP_BYTE(bitmap, bitmap_size, i);
+ byte = (uint8_t *)BITS_BITMAP_BYTE(bitmap, bitmap_size, i);
for (bitmask = 1; bitmask; bitmask <<= 1) {
if (*byte & bitmask) {
/* add this bit */