diff options
| author | Vasile Vilvoiu <vasi@vilvoiu.ro> | 2021-10-20 20:28:43 +0300 |
|---|---|---|
| committer | Vasile Vilvoiu <vasi@vilvoiu.ro> | 2021-10-20 20:28:43 +0300 |
| commit | 2f7e16cdf332b2cd26d8d9fde760feab31be7250 (patch) | |
| tree | 293eeefd371f668bc371bb68acedb1b25dacdacc | |
| parent | 28c604a97ffcab56d92e7e3527156195a1557cfa (diff) | |
Fix warning for signed/unsigned comparsion.
| -rw-r--r-- | src/fft.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fft.cpp b/src/fft.cpp index 1cb84e9..f00dd4f 100644 --- a/src/fft.cpp +++ b/src/fft.cpp @@ -244,7 +244,7 @@ FFT::Crop(const RealWindow& input, double rate, double fmin, double fmax) if (i_fmin < 0) { throw std::runtime_error("fmin outside of window"); } - if (i_fmax >= input.size()) { + if (i_fmax >= (int64_t)input.size()) { throw std::runtime_error("fmax outside of window"); } |
