diff options
author | Tom Rondeau | 2012-02-06 15:32:43 -0500 |
---|---|---|
committer | Tom Rondeau | 2012-02-06 15:32:43 -0500 |
commit | 49476017b7cf69ddd6739d5cd0d50d867e2c8436 (patch) | |
tree | c74d1f28a35088434e80f57323fcd89d22470739 /gnuradio-core/src/lib | |
parent | 6ba65930ba9a50b3c4618099b189fcfee5d015f0 (diff) | |
download | gnuradio-49476017b7cf69ddd6739d5cd0d50d867e2c8436.tar.gz gnuradio-49476017b7cf69ddd6739d5cd0d50d867e2c8436.tar.bz2 gnuradio-49476017b7cf69ddd6739d5cd0d50d867e2c8436.zip |
core: fix a warning.
Diffstat (limited to 'gnuradio-core/src/lib')
-rw-r--r-- | gnuradio-core/src/lib/general/gr_fft_vcc_fftw.cc | 2 |
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 948ab20b9..8a6b2fe8a 100644 --- a/gnuradio-core/src/lib/general/gr_fft_vcc_fftw.cc +++ b/gnuradio-core/src/lib/general/gr_fft_vcc_fftw.cc @@ -68,7 +68,7 @@ gr_fft_vcc_fftw::work (int noutput_items, if (d_window.size()){ gr_complex *dst = d_fft->get_inbuf(); if(!d_forward && d_shift){ - int offset = (!d_forward && d_shift)?(d_fft_size/2):0; + unsigned int offset = (!d_forward && d_shift)?(d_fft_size/2):0; int fft_m_offset = d_fft_size - offset; for (unsigned int i = 0; i < offset; i++) // apply window dst[i+fft_m_offset] = in[i] * d_window[i]; |