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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user