mirror of
https://github.com/mapnik/mapnik.git
synced 2025-12-08 20:13:09 +00:00
correct signed/unsigned comparison in image filter visitor
This commit is contained in:
parent
5672ad9285
commit
1e024984e7
@ -785,8 +785,8 @@ struct filter_radius_visitor : boost::static_visitor<void>
|
||||
|
||||
void operator () (agg_stack_blur const& op)
|
||||
{
|
||||
if (op.rx > radius_) radius_ = op.rx;
|
||||
if (op.ry > radius_) radius_ = op.ry;
|
||||
if (static_cast<int>(op.rx) > radius_) radius_ = static_cast<int>(op.rx);
|
||||
if (static_cast<int>(op.ry) > radius_) radius_ = static_cast<int>(op.ry);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user