summaryrefslogtreecommitdiff
path: root/gr-blocks/include/gnuradio/blocks/count_bits.h
diff options
context:
space:
mode:
Diffstat (limited to 'gr-blocks/include/gnuradio/blocks/count_bits.h')
-rw-r--r--gr-blocks/include/gnuradio/blocks/count_bits.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/gr-blocks/include/gnuradio/blocks/count_bits.h b/gr-blocks/include/gnuradio/blocks/count_bits.h
index 9bfc61d98d..9d3aab059f 100644
--- a/gr-blocks/include/gnuradio/blocks/count_bits.h
+++ b/gr-blocks/include/gnuradio/blocks/count_bits.h
@@ -13,6 +13,8 @@
#include <gnuradio/blocks/api.h>
+#include <cstdint>
+
namespace gr {
namespace blocks {
@@ -26,7 +28,7 @@ BLOCKS_API unsigned int count_bits16(unsigned int x);
BLOCKS_API unsigned int count_bits32(unsigned int x);
//! return number of set bits in a 64-bit word
-BLOCKS_API unsigned int count_bits64(unsigned long long int x);
+BLOCKS_API unsigned int count_bits64(uint64_t x);
} /* namespace blocks */
} /* namespace gr */