From 76c28b0b2148dba4f3492cce14d76f4c75e18fab Mon Sep 17 00:00:00 2001 From: Manolis Surligas Date: Mon, 9 May 2016 20:56:44 +0300 Subject: [PATCH] Change the pmt::to_float() to pmt::to_double() for compatibility --- lib/cw_to_symbol_impl.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/cw_to_symbol_impl.cc b/lib/cw_to_symbol_impl.cc index 54be3dc..1ea3957 100644 --- a/lib/cw_to_symbol_impl.cc +++ b/lib/cw_to_symbol_impl.cc @@ -139,7 +139,7 @@ namespace gr cw_to_symbol_impl::set_act_threshold_msg_handler (pmt::pmt_t msg) { if(pmt::is_pair(msg)){ - set_act_threshold(pmt::to_float(pmt::cdr(msg))); + set_act_threshold(pmt::to_double(pmt::cdr(msg))); } }