mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-11 12:25:59 +02:00
* fixed TSingleRec.SetSign on 16 and 8-bit CPUs
git-svn-id: trunk@29120 -
This commit is contained in:
parent
5fcb93234b
commit
4fe1ec9c51
@ -2173,7 +2173,7 @@ function TSingleRec.GetSign : Boolean;
|
|||||||
|
|
||||||
procedure TSingleRec.SetSign(s : Boolean);
|
procedure TSingleRec.SetSign(s : Boolean);
|
||||||
begin
|
begin
|
||||||
Data:=(Data and $7fffffff) or (ord(s) shl 31);
|
Data:=(Data and $7fffffff) or (DWord(ord(s)) shl 31);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user