aboutsummaryrefslogtreecommitdiffstats
path: root/host/test
diff options
context:
space:
mode:
Diffstat (limited to 'host/test')
-rw-r--r--host/test/vrt_test.cpp2
-rw-r--r--host/test/wax_test.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/host/test/vrt_test.cpp b/host/test/vrt_test.cpp
index d80908c74..40116e110 100644
--- a/host/test/vrt_test.cpp
+++ b/host/test/vrt_test.cpp
@@ -25,7 +25,7 @@ static void pack_and_unpack(
size_t num_payload_words32,
size_t packet_count
){
- uint32_t header_buff[vrt::max_header_words32];
+ boost::uint32_t header_buff[vrt::max_header_words32];
size_t num_header_words32;
size_t num_packet_words32;
diff --git a/host/test/wax_test.cpp b/host/test/wax_test.cpp
index b793b2690..cb3b12052 100644
--- a/host/test/wax_test.cpp
+++ b/host/test/wax_test.cpp
@@ -79,7 +79,7 @@ BOOST_AUTO_TEST_CASE(test_set_get){
for (size_t i = 0; i < 10; i++){
for (size_t j = 0; j < 10; j++){
for (size_t k = 0; k < 10; k++){
- float val = i * j * k + i + j + k;
+ float val = float(i * j * k + i + j + k);
//std::cout << i << " " << j << " " << k << std::endl;
wd[i][j][k] = val;
BOOST_CHECK_EQUAL(val, wd[i][j][k].as<float>());