diff options
Diffstat (limited to 'src')
| -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"); } |
