$OpenBSD: patch-akode_lib_fast_resampler_cpp,v 1.1 2017/04/27 12:44:03 espie Exp $
--- akode/lib/fast_resampler.cpp.orig	Thu Apr 27 14:15:31 2017
+++ akode/lib/fast_resampler.cpp	Thu Apr 27 14:22:43 2017
@@ -37,7 +37,7 @@ FastResampler::FastResampler() : speed(1.0), sample_ra
 // A fast resampling by linear interpolation
 // I assume you know binary arithmetics and convertions if you're reading this
 // T is the input/output type, Arithm defines the used arithmetic
-template<typename T, typename S, template<typename S> class Arithm>
+template<typename T, typename S, template<typename U> class Arithm>
 static bool _doBuffer(AudioFrame* in, AudioFrame* out, float speed, unsigned sample_rate)
 {
     unsigned long vt_pos_start = 0;  // virtual positions of new sample
