mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-24 22:10:42 +02:00
* fixed do_filepos and do_seekend not returning the high 16 bits of the file
offset correctly git-svn-id: trunk@27176 -
This commit is contained in:
parent
d989a42111
commit
b7d759344d
@ -158,7 +158,7 @@ begin
|
|||||||
do_filepos:=0;
|
do_filepos:=0;
|
||||||
end
|
end
|
||||||
else
|
else
|
||||||
do_filepos:=(regs.DX shl 16) + regs.AX;
|
do_filepos:=(longint(regs.DX) shl 16) + regs.AX;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
|
||||||
@ -192,7 +192,7 @@ begin
|
|||||||
do_seekend:=0;
|
do_seekend:=0;
|
||||||
end
|
end
|
||||||
else
|
else
|
||||||
do_seekend:=(regs.DX shl 16) + regs.AX;
|
do_seekend:=(longint(regs.DX) shl 16) + regs.AX;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user