diff options
author | Michael Dickens <michael.dickens@ettus.com> | 2015-03-07 11:12:58 -0500 |
---|---|---|
committer | Martin Braun <martin.braun@ettus.com> | 2015-03-11 15:33:17 -0700 |
commit | a7049e4ff79cdc205db76bf7270219f254073961 (patch) | |
tree | d8dd37ecfaa3719a82c5aa3ce56f0d04faae01ef /host/lib/transport/super_recv_packet_handler.hpp | |
parent | a4eee83b82a5f57b22c092e5f9dc825baf8fe6dd (diff) | |
download | uhd-a7049e4ff79cdc205db76bf7270219f254073961.tar.gz uhd-a7049e4ff79cdc205db76bf7270219f254073961.tar.bz2 uhd-a7049e4ff79cdc205db76bf7270219f254073961.zip |
uhd: Fixed multiple compiler warnings
- Use ULL and LL etc. so compiler doesn't need to decide constant's types
- define the empty 'while' loop to include {} to make older compilers happy
- Use explicit type names for BOOST_CHECK_EQUAL
Diffstat (limited to 'host/lib/transport/super_recv_packet_handler.hpp')
-rw-r--r-- | host/lib/transport/super_recv_packet_handler.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/host/lib/transport/super_recv_packet_handler.hpp b/host/lib/transport/super_recv_packet_handler.hpp index 5c84327a4..c3c2b8e97 100644 --- a/host/lib/transport/super_recv_packet_handler.hpp +++ b/host/lib/transport/super_recv_packet_handler.hpp @@ -147,7 +147,7 @@ public: */ void set_xport_chan_get_buff(const size_t xport_chan, const get_buff_type &get_buff, const bool flush = false){ if (flush){ - while (get_buff(0.0)); + while (get_buff(0.0)) {}; } _props.at(xport_chan).get_buff = get_buff; } |