Fix warning about operation order.

This commit is contained in:
Brandon Wright 2012-02-02 15:57:42 -06:00
parent 8db1c467ac
commit 1aeb1c8f3e
1 changed files with 2 additions and 2 deletions

View File

@ -34,10 +34,10 @@ class HermiteResampler : public Resampler
a2 = mu3 - mu2;
a3 = 3 * mu2 - (mu3 << 1);
return (a0 * b) +
return ((a0 * b) +
((a1 * m0) >> 15) +
((a2 * m1) >> 15) +
(a3 * c) >> 15;
(a3 * c)) >> 15;
}
public: