diff options
Diffstat (limited to 'gr-blocks/lib/unpacked_to_packed_impl.cc')
-rw-r--r-- | gr-blocks/lib/unpacked_to_packed_impl.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gr-blocks/lib/unpacked_to_packed_impl.cc b/gr-blocks/lib/unpacked_to_packed_impl.cc index 92240c516a..54bcfd3c0b 100644 --- a/gr-blocks/lib/unpacked_to_packed_impl.cc +++ b/gr-blocks/lib/unpacked_to_packed_impl.cc @@ -53,7 +53,7 @@ namespace gr { assert(bits_per_chunk <= d_bits_per_type); assert(bits_per_chunk > 0); - this->set_relative_rate(bits_per_chunk/(1.0 * d_bits_per_type)); + this->set_relative_rate((uint64_t)bits_per_chunk, (uint64_t)BITS_PER_TYPE); } template <class T> |