aboutsummaryrefslogtreecommitdiffstats
path: root/host/tests/cast_test.cpp
diff options
context:
space:
mode:
authorMartin Braun <martin.braun@ettus.com>2016-11-08 08:41:46 -0800
committerMartin Braun <martin.braun@ettus.com>2016-11-08 08:41:46 -0800
commit9b852f5f243e5cf68662b7152b5fa331a83e55fb (patch)
tree159ffe0761f78dd87e2ecc97abea14494abab4ff /host/tests/cast_test.cpp
parentc66cb1bad0d881394f3519bd94f4693cceab4c64 (diff)
parent99c2730bc9db270560671f2d7d173768465ed51f (diff)
downloaduhd-9b852f5f243e5cf68662b7152b5fa331a83e55fb.tar.gz
uhd-9b852f5f243e5cf68662b7152b5fa331a83e55fb.tar.bz2
uhd-9b852f5f243e5cf68662b7152b5fa331a83e55fb.zip
Merge branch 'maint'
Diffstat (limited to 'host/tests/cast_test.cpp')
-rw-r--r--host/tests/cast_test.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/host/tests/cast_test.cpp b/host/tests/cast_test.cpp
index 6b8a4c527..1bd09e1a5 100644
--- a/host/tests/cast_test.cpp
+++ b/host/tests/cast_test.cpp
@@ -17,14 +17,14 @@
#include <iostream>
#include <boost/test/unit_test.hpp>
-#include <boost/cstdint.hpp>
+#include <stdint.h>
#include <uhd/utils/cast.hpp>
BOOST_AUTO_TEST_CASE(test_mac_addr){
std::string in = "0x0100";
- boost::uint16_t correct_result = 256;
- boost::uint16_t x = uhd::cast::hexstr_cast<boost::uint16_t>(in);
- //boost::uint16_t x = uhd::cast::hexstr_cast(in);
+ uint16_t correct_result = 256;
+ uint16_t x = uhd::cast::hexstr_cast<uint16_t>(in);
+ //uint16_t x = uhd::cast::hexstr_cast(in);
std::cout
<< "Testing hex -> uint16_t conversion. "
<< in << " == " << std::hex << x << "?" << std::endl;