commit c53fb33dbf84693caf63d30f6ca89f39ac859a3d
parent 1188f4bd42cdcff5dfa5cfc4316cc24ef92d383d
Author: Matt Demanett <matt@demanett.net>
Date: Sun, 22 Apr 2018 22:37:14 -0400
Windows compile fix.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/dsp/filter.hpp b/src/dsp/filter.hpp
@@ -148,7 +148,7 @@ struct LPFDecimator : Decimator {
struct CICDecimator : Decimator {
typedef int64_t T;
- static constexpr T scale = 1l << 32;
+ static constexpr T scale = ((T)1) << 32;
int _stages;
T* _integrators;
T* _combs;