summaryrefslogtreecommitdiff
path: root/gr-digital/lib/digital_probe_mpsk_snr_est_c.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gr-digital/lib/digital_probe_mpsk_snr_est_c.cc')
-rw-r--r--gr-digital/lib/digital_probe_mpsk_snr_est_c.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/gr-digital/lib/digital_probe_mpsk_snr_est_c.cc b/gr-digital/lib/digital_probe_mpsk_snr_est_c.cc
index 07f4e93de..3d97ff899 100644
--- a/gr-digital/lib/digital_probe_mpsk_snr_est_c.cc
+++ b/gr-digital/lib/digital_probe_mpsk_snr_est_c.cc
@@ -64,7 +64,8 @@ digital_probe_mpsk_snr_est_c::work(int noutput_items,
gr_vector_const_void_star &input_items,
gr_vector_void_star &output_items)
{
- return d_snr_est->update(noutput_items, input_items);
+ const gr_complex *in = (const gr_complex*)input_items[0];
+ return d_snr_est->update(noutput_items, in);
}
double