1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-10-24 23:33:50 +02:00

Regularize casts as (int), so they are easier to find and review

This commit is contained in:
Paul Licameli
2016-09-20 08:26:42 -04:00
parent 8e1b084f01
commit f993f1eadf
24 changed files with 105 additions and 105 deletions

View File

@@ -642,7 +642,7 @@ void AColor::PreComputeGradient() {
{float(1.00), float(1.00), float(1.00)} // white
};
int left = int (value * gsteps);
int left = (int)(value * gsteps);
int right = (left == gsteps ? gsteps : left + 1);
float rweight = (value * gsteps) - left;