mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-14 17:32:13 -05:00
Removed a lot of size_t/uint/int related compiler warnings. Still more to go.
p4#: 20215
This commit is contained in:
1 parent
24ac7b819e
commit
b938b14b5b
14 files changed
+46
-48
No files matched your search
@@ -486,7 +486,7 @@ ScalarMapperEffectGenerator::addAlphaAndUndefStripes(const cvf::TextureImage* te
|
||||
modTexImg->allocate(texImg->width(), texImg->height() + 2);
|
||||
modTexImg->fill(cvf::Color4ub(cvf::Color3ub(undefScalarColor), 255)); // Undefined color
|
||||
|
||||
for (size_t i = 0 ; i < texImg->width(); ++i)
|
||||
for (cvf::uint i = 0 ; i < texImg->width(); ++i)
|
||||
{
|
||||
cvf::Color4ub legendColor = texImg->pixel(i, 0);
|
||||
modTexImg->setPixel(i, 0, legendColor);
|
||||
|
||||
Reference in new issue
Block a user