diff options
author | eb | 2007-05-02 04:02:29 +0000 |
---|---|---|
committer | eb | 2007-05-02 04:02:29 +0000 |
commit | 2972cb29e206e2c0ed2d5e8283d2d1864126da08 (patch) | |
tree | 7f9085a6609d8c56a37cb563474da6316d1c7b37 /gr-atsc/src/lib | |
parent | e041f7efac3075af0cafd94fc76858702a378c28 (diff) | |
download | gnuradio-2972cb29e206e2c0ed2d5e8283d2d1864126da08.tar.gz gnuradio-2972cb29e206e2c0ed2d5e8283d2d1864126da08.tar.bz2 gnuradio-2972cb29e206e2c0ed2d5e8283d2d1864126da08.zip |
cleaned up some warnings
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@5219 221aa14e-8319-0410-a670-987f0aec2ac5
Diffstat (limited to 'gr-atsc/src/lib')
-rw-r--r-- | gr-atsc/src/lib/atsc_bit_timing_loop.cc | 2 | ||||
-rw-r--r-- | gr-atsc/src/lib/atsc_field_sync_demux.cc | 6 | ||||
-rw-r--r-- | gr-atsc/src/lib/atsc_viterbi_decoder.cc | 4 |
3 files changed, 8 insertions, 4 deletions
diff --git a/gr-atsc/src/lib/atsc_bit_timing_loop.cc b/gr-atsc/src/lib/atsc_bit_timing_loop.cc index 7c12fc111..07cc4b8f5 100644 --- a/gr-atsc/src/lib/atsc_bit_timing_loop.cc +++ b/gr-atsc/src/lib/atsc_bit_timing_loop.cc @@ -56,7 +56,7 @@ atsc_bit_timing_loop::forecast (int noutput_items, gr_vector_int &ninput_items_r { unsigned ninputs = ninput_items_required.size(); for (unsigned i = 0; i < ninputs; i++) - ninput_items_required[i] = noutput_items * d_rx_clock_to_symbol_freq + 1500 - 1; + ninput_items_required[i] = static_cast<int>(noutput_items * d_rx_clock_to_symbol_freq) + 1500 - 1; } diff --git a/gr-atsc/src/lib/atsc_field_sync_demux.cc b/gr-atsc/src/lib/atsc_field_sync_demux.cc index 070c901ad..c5712a25d 100644 --- a/gr-atsc/src/lib/atsc_field_sync_demux.cc +++ b/gr-atsc/src/lib/atsc_field_sync_demux.cc @@ -32,9 +32,11 @@ #include <atsci_syminfo.h> #include <stdio.h> #include <assert.h> -#include <iostream.h> +#include <iostream> + +using std::cerr; +using std::endl; -using std::abs; static const int DEC = ATSC_DATA_SEGMENT_LENGTH; // nominal decimation factor diff --git a/gr-atsc/src/lib/atsc_viterbi_decoder.cc b/gr-atsc/src/lib/atsc_viterbi_decoder.cc index 180e03533..862a8ea79 100644 --- a/gr-atsc/src/lib/atsc_viterbi_decoder.cc +++ b/gr-atsc/src/lib/atsc_viterbi_decoder.cc @@ -27,8 +27,10 @@ #include <atsc_viterbi_decoder.h> #include <gr_io_signature.h> #include <atsc_consts.h> -#include <iostream.h> +#include <iostream> +using std::cerr; +using std::endl; atsc_viterbi_decoder_sptr atsc_make_viterbi_decoder() |