diff options
author | Josh Blum <josh@joshknows.com> | 2010-03-17 17:55:20 -0800 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2010-03-17 17:55:20 -0800 |
commit | 69aaffa6d8d4614dbf6b751fe058e39fced68153 (patch) | |
tree | 1a3958527b79eeb0297146dccff7fd76b0f46a7f /host/test/wax_test.cpp | |
parent | 83c463d09613b72817a837117c5f0b23975c8def (diff) | |
download | uhd-69aaffa6d8d4614dbf6b751fe058e39fced68153.tar.gz uhd-69aaffa6d8d4614dbf6b751fe058e39fced68153.tar.bz2 uhd-69aaffa6d8d4614dbf6b751fe058e39fced68153.zip |
got uhd almost compiling in windowze. figured out special flags. also had to use boost stdint because its missing in visual c++, added a bunch of numeric casts to reduce warnings
Diffstat (limited to 'host/test/wax_test.cpp')
-rw-r--r-- | host/test/wax_test.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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>()); |