Fix compiler warnings
This commit is contained in:
parent
b19fc23cb4
commit
6d2022b5d5
@ -100,7 +100,7 @@ void adjustBlackLevels(float cblack[4], rtengine::eSensorType sensorType, const
|
||||
break;
|
||||
}
|
||||
|
||||
for (int i = 0; i < black_adjust.size(); i++) {
|
||||
for (unsigned int i = 0; i < black_adjust.size(); i++) {
|
||||
cblack[i] = std::max(0.f, cblack[i] + black_adjust[i]);
|
||||
}
|
||||
}
|
||||
@ -118,7 +118,7 @@ void calculate_scale_mul(float scale_mul[4], const float pre_mul_[4], const floa
|
||||
{
|
||||
std::array<float, 4> c_white;
|
||||
|
||||
for (int i = 0; i < c_white.size(); ++i) {
|
||||
for (unsigned int i = 0; i < c_white.size(); ++i) {
|
||||
c_white[i] = static_cast<float>(ri->get_white(i));
|
||||
}
|
||||
|
||||
|
@ -287,7 +287,6 @@ private:
|
||||
int kmin = 20;
|
||||
float minhist = 1000000000.f;
|
||||
float maxhist = -1000.f;
|
||||
double tempitc = 5000.f;
|
||||
double greenitc = 1.;
|
||||
float temp0 = 5000.f;
|
||||
bool extra = false;
|
||||
|
Loading…
x
Reference in New Issue
Block a user