diff options
author | Damien Zammit <damien@zamaudio.com> | 2014-04-19 18:30:29 +1000 |
---|---|---|
committer | Damien Zammit <damien@zamaudio.com> | 2014-04-19 18:30:29 +1000 |
commit | d920b179ebd32d7c266c83640d85f128b1ebc526 (patch) | |
tree | de71ee54d40ec2cffadb4783be408f222cfb57e7 /plugins/ZamTube/ZamTubePlugin.hpp | |
parent | 7200457fdf98d5a4607da0feb8b6a95f626c5be0 (diff) |
Trying to fix log knob default value
Signed-off-by: Damien Zammit <damien@zamaudio.com>
Diffstat (limited to 'plugins/ZamTube/ZamTubePlugin.hpp')
-rw-r--r-- | plugins/ZamTube/ZamTubePlugin.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/ZamTube/ZamTubePlugin.hpp b/plugins/ZamTube/ZamTubePlugin.hpp index cfab07d..da24aff 100644 --- a/plugins/ZamTube/ZamTubePlugin.hpp +++ b/plugins/ZamTube/ZamTubePlugin.hpp @@ -32,7 +32,7 @@ START_NAMESPACE_DISTRHO template <int N> inline float faustpower(float x) { return powf(x,N); } template <int N> inline double faustpower(double x) { return pow(x,N); } template <int N> inline int faustpower(int x) { return faustpower<N/2>(x) * faustpower<N-N/2>(x); } -template <> inline int faustpower<0>(int x) { return 1; } +template <> inline int faustpower<0>(int) { return 1; } template <> inline int faustpower<1>(int x) { return x; } #define FAUSTFLOAT float |