projects
/
debian
/
gnuradio
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
199b77a
)
PFB resampler: fix it this way to avoid the signed/unsigned warning.
author
Tom Rondeau
<trondeau@vt.edu>
Sun, 12 Dec 2010 18:39:06 +0000
(13:39 -0500)
committer
Tom Rondeau
<trondeau@vt.edu>
Sun, 12 Dec 2010 18:40:08 +0000
(13:40 -0500)
gnuradio-core/src/lib/filter/gr_pfb_arb_resampler_ccf.cc
patch
|
blob
|
history
diff --git
a/gnuradio-core/src/lib/filter/gr_pfb_arb_resampler_ccf.cc
b/gnuradio-core/src/lib/filter/gr_pfb_arb_resampler_ccf.cc
index 00c2dab0c42bf0933093bd5e91d09a53fa63b8ca..84b0c578f59bc12310a261e6391f2a20d7034c7f 100644
(file)
--- a/
gnuradio-core/src/lib/filter/gr_pfb_arb_resampler_ccf.cc
+++ b/
gnuradio-core/src/lib/filter/gr_pfb_arb_resampler_ccf.cc
@@
-179,7
+179,8
@@
gr_pfb_arb_resampler_ccf::general_work (int noutput_items,
j = d_last_filter;
// produce output as long as we can and there are enough input samples
- while((i < noutput_items) && (count < ninput_items[0]-d_taps_per_filter)) {
+ int max_input = ninput_items[0]-(int)d_taps_per_filter;
+ while((i < noutput_items) && (count < max_input)) {
// start j by wrapping around mod the number of channels
while((j < d_int_rate) && (i < noutput_items)) {