aboutsummaryrefslogtreecommitdiffstats
path: root/host/test/gain_handler_test.cpp
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2010-03-28 01:18:27 -0800
committerJosh Blum <josh@joshknows.com>2010-03-28 01:18:27 -0800
commit7fc320448f30a6c7c327834f80764e5657c04995 (patch)
treef884d372ec7b4eedca4cdd77fa5bbc2dfd2e59f8 /host/test/gain_handler_test.cpp
parentb71d0cbea9e1e107eeb1da51ef14fe6b9e983ee6 (diff)
downloaduhd-7fc320448f30a6c7c327834f80764e5657c04995.tar.gz
uhd-7fc320448f30a6c7c327834f80764e5657c04995.tar.bz2
uhd-7fc320448f30a6c7c327834f80764e5657c04995.zip
minor fix to wax test to get unit testing working on windows, added missing config include to static.hpp to compile under windows
Diffstat (limited to 'host/test/gain_handler_test.cpp')
-rw-r--r--host/test/gain_handler_test.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/host/test/gain_handler_test.cpp b/host/test/gain_handler_test.cpp
index e13063e06..a7c6e1e82 100644
--- a/host/test/gain_handler_test.cpp
+++ b/host/test/gain_handler_test.cpp
@@ -46,8 +46,8 @@ public:
);
_gain_values["g0"] = 0;
_gain_values["g1"] = 0;
- _gain_ranges["g0"] = gain_range_t(-10, 0, .1);
- _gain_ranges["g1"] = gain_range_t(0, 100, 1.5);
+ _gain_ranges["g0"] = gain_range_t(-10, 0, float(.1));
+ _gain_ranges["g1"] = gain_range_t(0, 100, float(1.5));
}
~gainful_obj(void){}