* 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:
marco 2006-11-13 12:12:35 +00:00
parent ae548087ca
commit ddbbcb875e

View File

@ -267,7 +267,7 @@ procedure TFPWriterPNG.DetermineHeader (var AHeader : THeaderChunk);
var c : integer;
function CountAlphas : integer;
var none, half : boolean;
x,y : longword;
x,y : longint; // warning, checks on <0 !
p : integer;
c : TFPColor;
a : word;