summaryrefslogtreecommitdiff
path: root/gnuradio-core/src/lib/general
diff options
context:
space:
mode:
authorTom Rondeau2012-04-13 09:47:55 -0400
committerTom Rondeau2012-04-13 09:47:55 -0400
commit0dec80cb29da6dc4fbf4c349ea5c3399521561da (patch)
treec70ee080dc7ac505dc811b96c4238b08a5550a37 /gnuradio-core/src/lib/general
parentf0c9a22db5442ff6029a0561bb2178de851c6b77 (diff)
downloadgnuradio-0dec80cb29da6dc4fbf4c349ea5c3399521561da.tar.gz
gnuradio-0dec80cb29da6dc4fbf4c349ea5c3399521561da.tar.bz2
gnuradio-0dec80cb29da6dc4fbf4c349ea5c3399521561da.zip
Fix some minor warnings.
Diffstat (limited to 'gnuradio-core/src/lib/general')
-rw-r--r--gnuradio-core/src/lib/general/gr_fft_vcc_fftw.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gnuradio-core/src/lib/general/gr_fft_vcc_fftw.cc b/gnuradio-core/src/lib/general/gr_fft_vcc_fftw.cc
index a99beb965..0e8b4b015 100644
--- a/gnuradio-core/src/lib/general/gr_fft_vcc_fftw.cc
+++ b/gnuradio-core/src/lib/general/gr_fft_vcc_fftw.cc
@@ -87,7 +87,7 @@ gr_fft_vcc_fftw::work (int noutput_items,
if(!d_forward && d_shift){
unsigned int offset = (!d_forward && d_shift)?(d_fft_size/2):0;
int fft_m_offset = d_fft_size - offset;
- for (int i = 0; i < offset; i++) // apply window
+ for (unsigned int i = 0; i < offset; i++) // apply window
dst[i+fft_m_offset] = in[i] * d_window[i];
for (unsigned int i = offset; i < d_fft_size; i++) // apply window
dst[i-offset] = in[i] * d_window[i];