diff options
author | Martin Braun <martin.braun@ettus.com> | 2016-11-08 08:41:46 -0800 |
---|---|---|
committer | Martin Braun <martin.braun@ettus.com> | 2016-11-08 08:41:46 -0800 |
commit | 9b852f5f243e5cf68662b7152b5fa331a83e55fb (patch) | |
tree | 159ffe0761f78dd87e2ecc97abea14494abab4ff /host/tests/chdr_test.cpp | |
parent | c66cb1bad0d881394f3519bd94f4693cceab4c64 (diff) | |
parent | 99c2730bc9db270560671f2d7d173768465ed51f (diff) | |
download | uhd-9b852f5f243e5cf68662b7152b5fa331a83e55fb.tar.gz uhd-9b852f5f243e5cf68662b7152b5fa331a83e55fb.tar.bz2 uhd-9b852f5f243e5cf68662b7152b5fa331a83e55fb.zip |
Merge branch 'maint'
Diffstat (limited to 'host/tests/chdr_test.cpp')
-rw-r--r-- | host/tests/chdr_test.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/host/tests/chdr_test.cpp b/host/tests/chdr_test.cpp index f48073a09..cdad7f35e 100644 --- a/host/tests/chdr_test.cpp +++ b/host/tests/chdr_test.cpp @@ -28,7 +28,7 @@ static void pack_and_unpack( if_packet_info_t &if_packet_info_in ){ // Temp buffer for packed packet - boost::uint32_t packet_buff[2048] = {0}; + uint32_t packet_buff[2048] = {0}; // Check input (must not be lazy) BOOST_REQUIRE( @@ -46,7 +46,7 @@ static void pack_and_unpack( packet_buff, if_packet_info_in ); std::cout << std::endl; - boost::uint32_t header_bits = (uhd::ntohx(packet_buff[0]) >> 28); + uint32_t header_bits = (uhd::ntohx(packet_buff[0]) >> 28); std::cout << boost::format("header bits = 0b%d%d%d%d") % ((header_bits & 8) > 0) % ((header_bits & 4) > 0) % ((header_bits & 2) > 0) |