diff options
author | Martin Braun <martin.braun@ettus.com> | 2019-02-15 16:42:34 -0800 |
---|---|---|
committer | Brent Stapleton <brent.stapleton@ettus.com> | 2019-02-28 10:24:52 -0800 |
commit | d23df2d9411a0d80e00a6927fff946f2c5f906bc (patch) | |
tree | 5647a4f1c984f1852877b59781c08d7a6d6a15bb /host/lib/rfnoc/ctrl_iface.cpp | |
parent | 4047f692d454446b10af4f67f4c208ba19b4dbef (diff) | |
download | uhd-d23df2d9411a0d80e00a6927fff946f2c5f906bc.tar.gz uhd-d23df2d9411a0d80e00a6927fff946f2c5f906bc.tar.bz2 uhd-d23df2d9411a0d80e00a6927fff946f2c5f906bc.zip |
lib: Fix various type-conversion compiler warnings
This makes more type-conversions explicit, to reduce the number of
warnings specifically for MSVC.
Diffstat (limited to 'host/lib/rfnoc/ctrl_iface.cpp')
-rw-r--r-- | host/lib/rfnoc/ctrl_iface.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/host/lib/rfnoc/ctrl_iface.cpp b/host/lib/rfnoc/ctrl_iface.cpp index a441ffbc3..377808eef 100644 --- a/host/lib/rfnoc/ctrl_iface.cpp +++ b/host/lib/rfnoc/ctrl_iface.cpp @@ -63,7 +63,7 @@ public: boost::mutex::scoped_lock lock(_mutex); this->send_pkt(addr, data, timestamp); return this->wait_for_ack( - readback, bool(timestamp) ? MASSIVE_TIMEOUT : ACK_TIMEOUT); + readback, bool(timestamp != 0) ? MASSIVE_TIMEOUT : ACK_TIMEOUT); } private: |