From bea1c582491d71bf90e240be345a32ba77028460 Mon Sep 17 00:00:00 2001 From: Josh Blum Date: Tue, 18 May 2010 18:03:27 -0700 Subject: tweaks to remove warning is msvc --- host/examples/tx_timed_samples.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'host/examples/tx_timed_samples.cpp') diff --git a/host/examples/tx_timed_samples.cpp b/host/examples/tx_timed_samples.cpp index 6dee69cd5..e9e0c785e 100644 --- a/host/examples/tx_timed_samples.cpp +++ b/host/examples/tx_timed_samples.cpp @@ -41,7 +41,7 @@ int UHD_SAFE_MAIN(int argc, char *argv[]){ ("nsamps", po::value(&total_num_samps)->default_value(1000), "total number of samples to transmit") ("txrate", po::value(&tx_rate)->default_value(100e6/16), "rate of outgoing samples") ("freq", po::value(&freq)->default_value(0), "rf center frequency in Hz") - ("ampl", po::value(&l)->default_value(0.3), "amplitude of each sample") + ("ampl", po::value(&l)->default_value(float(0.3)), "amplitude of each sample") ; po::variables_map vm; po::store(po::parse_command_line(argc, argv, desc), vm); -- cgit v1.2.3