mirror of
https://github.com/thorvg/thorvg.git
synced 2025-06-14 20:14:37 +00:00
fix another type mismatch
This commit is contained in:
parent
bc3e6ec99d
commit
c099ec94b1
1 changed files with 2 additions and 2 deletions
|
@ -821,8 +821,8 @@ static void _rasterPolygonImage(SwSurface* surface, const SwImage* image, const
|
|||
|
||||
static AASpans* _AASpans(float ymin, float ymax, const SwImage* image, const SwBBox* region)
|
||||
{
|
||||
auto yStart = static_cast<int32_t>(ymin);
|
||||
auto yEnd = static_cast<int32_t>(ymax);
|
||||
auto yStart = static_cast<int>(ymin);
|
||||
auto yEnd = static_cast<int>(ymax);
|
||||
|
||||
if (!_arrange(image, region, yStart, yEnd)) return nullptr;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue