mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-19 20:39:25 +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);
|
||||
begin
|
||||
Data:=(Data and $7fffffff) or (ord(s) shl 31);
|
||||
Data:=(Data and $7fffffff) or (DWord(ord(s)) shl 31);
|
||||
end;
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user