From 249b00c4691fb4dbd9e1c833ceccc53526babd21 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Wed, 5 Feb 2014 04:04:35 -0500 Subject: Change the modified parameter in the Clamp function to be a pointer. Makes it easier to identify the one being modified. --- Source/Core/AudioCommon/DPL2Decoder.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Source/Core/AudioCommon/DPL2Decoder.cpp') diff --git a/Source/Core/AudioCommon/DPL2Decoder.cpp b/Source/Core/AudioCommon/DPL2Decoder.cpp index 0c9fd65400..399541c1c9 100644 --- a/Source/Core/AudioCommon/DPL2Decoder.cpp +++ b/Source/Core/AudioCommon/DPL2Decoder.cpp @@ -123,7 +123,7 @@ float* design_fir(unsigned int *n, float* fc, float opt) // Sanity check if(*n==0) return NULL; - MathUtil::Clamp(fc[0],float(0.001),float(1)); + MathUtil::Clamp(&fc[0],float(0.001),float(1)); float *w=(float*)calloc(sizeof(float),*n); -- cgit v1.2.3