aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/rfnoc/replay_block_control.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'host/lib/rfnoc/replay_block_control.cpp')
-rw-r--r--host/lib/rfnoc/replay_block_control.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/host/lib/rfnoc/replay_block_control.cpp b/host/lib/rfnoc/replay_block_control.cpp
index 6067650e0..a2b45f575 100644
--- a/host/lib/rfnoc/replay_block_control.cpp
+++ b/host/lib/rfnoc/replay_block_control.cpp
@@ -77,7 +77,7 @@ public:
_fpga_compat(_replay_reg_iface.peek32(REG_COMPAT_ADDR)),
_word_size(
uint16_t((_replay_reg_iface.peek32(REG_MEM_SIZE_ADDR) >> 16) & 0xFFFF) / 8),
- _mem_size(uint64_t(1 << (_replay_reg_iface.peek32(REG_MEM_SIZE_ADDR) & 0xFFFF)))
+ _mem_size(uint64_t(1ULL << (_replay_reg_iface.peek32(REG_MEM_SIZE_ADDR) & 0xFFFF)))
{
UHD_ASSERT_THROW(get_num_input_ports() == get_num_output_ports());
uhd::assert_fpga_compat(MAJOR_COMPAT,