Removed a lot of size_t/uint/int related compiler warnings. Still more to go.

p4#: 20215
This commit is contained in:
Jacob Støren committed 2013-01-22 11:34:47 +01:00
1 parent 24ac7b819e
commit b938b14b5b
14 files changed
+46 -48

No files matched your search

+1 -1
View File
@@ -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);