mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-17 02:39:27 +02:00
* fix for 7791, counter vars were unsigned and compared with x<0 and x>0 etc
git-svn-id: trunk@5355 -
This commit is contained in:
parent
ae548087ca
commit
ddbbcb875e
@ -267,7 +267,7 @@ procedure TFPWriterPNG.DetermineHeader (var AHeader : THeaderChunk);
|
|||||||
var c : integer;
|
var c : integer;
|
||||||
function CountAlphas : integer;
|
function CountAlphas : integer;
|
||||||
var none, half : boolean;
|
var none, half : boolean;
|
||||||
x,y : longword;
|
x,y : longint; // warning, checks on <0 !
|
||||||
p : integer;
|
p : integer;
|
||||||
c : TFPColor;
|
c : TFPColor;
|
||||||
a : word;
|
a : word;
|
||||||
|
Loading…
Reference in New Issue
Block a user