diff options
author | jcorgan | 2008-08-24 17:41:07 +0000 |
---|---|---|
committer | jcorgan | 2008-08-24 17:41:07 +0000 |
commit | 34af4364456b9005efee3c3986ea0f4dce87c99e (patch) | |
tree | 06dc2b36e42a00985364f043748f9ab1881bde0b /gr-atsc/src/lib/atsc_depad.cc | |
parent | 66a225bf721cd61c736879bdf8ab44674319426d (diff) | |
download | gnuradio-34af4364456b9005efee3c3986ea0f4dce87c99e.tar.gz gnuradio-34af4364456b9005efee3c3986ea0f4dce87c99e.tar.bz2 gnuradio-34af4364456b9005efee3c3986ea0f4dce87c99e.zip |
Fix compiler warnings across the tree. Adds --enable-warnings-as-errors configure option. Currently compiles with no warnings with GCC 4.2.3 on Ubuntu 8.04.
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@9396 221aa14e-8319-0410-a670-987f0aec2ac5
Diffstat (limited to 'gr-atsc/src/lib/atsc_depad.cc')
-rw-r--r-- | gr-atsc/src/lib/atsc_depad.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gr-atsc/src/lib/atsc_depad.cc b/gr-atsc/src/lib/atsc_depad.cc index c72067e61..f1e830568 100644 --- a/gr-atsc/src/lib/atsc_depad.cc +++ b/gr-atsc/src/lib/atsc_depad.cc @@ -51,7 +51,7 @@ atsc_depad::work (int noutput_items, const atsc_mpeg_packet *in = (const atsc_mpeg_packet *) input_items[0]; unsigned char *out = (unsigned char *) output_items[0]; - unsigned int i; + int i; for (i = 0; i < noutput_items/ATSC_MPEG_PKT_LENGTH; i++){ memcpy(&out[i * ATSC_MPEG_PKT_LENGTH], in[i].data, ATSC_MPEG_PKT_LENGTH); |