diff options
Diffstat (limited to 'host/tests')
| -rw-r--r-- | host/tests/common/mock_ctrl_iface_impl.cpp | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/host/tests/common/mock_ctrl_iface_impl.cpp b/host/tests/common/mock_ctrl_iface_impl.cpp index e8560ad9e..af32637df 100644 --- a/host/tests/common/mock_ctrl_iface_impl.cpp +++ b/host/tests/common/mock_ctrl_iface_impl.cpp @@ -28,8 +28,8 @@ uint64_t mock_ctrl_iface_impl::send_cmd_pkt(const size_t addr,              case uhd::rfnoc::SR_READBACK_REG_USER:                  return 0x0123456789ABCDEF;              case uhd::rfnoc::SR_READBACK_COMPAT: -                return uhd::rfnoc::NOC_SHELL_COMPAT_MAJOR << 32 -                       | uhd::rfnoc::NOC_SHELL_COMPAT_MINOR; +                return uint64_t(uhd::rfnoc::NOC_SHELL_COMPAT_MAJOR) << 32 +                       | uint64_t(uhd::rfnoc::NOC_SHELL_COMPAT_MINOR);              default:                  return 0;          } | 
