mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-07 16:38:02 +02:00
aggpas: Prevent potential overflow error. Issue #40765.
(cherry picked from commit 7b6e360bce
)
This commit is contained in:
parent
e583a28391
commit
0c588105a2
@ -1752,7 +1752,7 @@ end;
|
||||
{ CALCULATE_ALPHA }
|
||||
function rasterizer_scanline_aa.calculate_alpha(area: int): unsigned;
|
||||
var
|
||||
cover : system.integer;
|
||||
cover : int;
|
||||
|
||||
begin
|
||||
// 1: cover:=area shr (poly_base_shift * 2 + 1 - aa_shift );
|
||||
|
Loading…
Reference in New Issue
Block a user