summaryrefslogtreecommitdiff
path: root/gnuradio-core/src/lib/general
diff options
context:
space:
mode:
authorTom Rondeau2010-11-08 00:47:10 -0500
committerTom Rondeau2010-11-08 22:42:10 -0500
commitd46b800b882724c07975f1dc897f8166d45150fb (patch)
treef193a5d8ea99421a8ca8c4ce89714f7ca893295f /gnuradio-core/src/lib/general
parent1fa9a8ea31115b878bff48d2259fc72d1a37b52c (diff)
downloadgnuradio-d46b800b882724c07975f1dc897f8166d45150fb.tar.gz
gnuradio-d46b800b882724c07975f1dc897f8166d45150fb.tar.bz2
gnuradio-d46b800b882724c07975f1dc897f8166d45150fb.zip
Fixing signed/unsigned warnings.
Diffstat (limited to 'gnuradio-core/src/lib/general')
-rw-r--r--gnuradio-core/src/lib/general/gr_float_to_complex.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/gnuradio-core/src/lib/general/gr_float_to_complex.cc b/gnuradio-core/src/lib/general/gr_float_to_complex.cc
index 89ef18869..a392abd06 100644
--- a/gnuradio-core/src/lib/general/gr_float_to_complex.cc
+++ b/gnuradio-core/src/lib/general/gr_float_to_complex.cc
@@ -52,12 +52,12 @@ gr_float_to_complex::work (int noutput_items,
switch (input_items.size ()){
case 1:
- for (int j = 0; j < noutput_items*d_vlen; j++)
+ for (size_t j = 0; j < noutput_items*d_vlen; j++)
out[j] = gr_complex (r[j], 0);
break;
case 2:
- for (int j = 0; j < noutput_items*d_vlen; j++)
+ for (size_t j = 0; j < noutput_items*d_vlen; j++)
out[j] = gr_complex (r[j], i[j]);
break;