diff options
Diffstat (limited to 'host/tests/cast_test.cpp')
-rw-r--r-- | host/tests/cast_test.cpp | 8 |
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; |