+ fix compiler warning
This commit is contained in:
parent
07c94a1acc
commit
98875e392b
1 changed files with 1 additions and 1 deletions
|
@ -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_;
|
||||
};
|
||||
|
|
Loading…
Add table
Reference in a new issue