+ fix compiler warning

This commit is contained in:
Artem Pavlenko 2009-01-27 10:18:06 +00:00
parent 07c94a1acc
commit 98875e392b

View file

@ -391,7 +391,7 @@ namespace mapnik {
void operator () (double b) const
{
c_.set_blue(clip_int<0,255>(((255.0 * b)/100.0 + 0.5)));
c_.set_blue(clip_int<0,255>(int((255.0 * b)/100.0 + 0.5)));
}
ColorT& c_;
};