mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-07 20:46:06 +02:00
* Fix 32-bit compilation
This commit is contained in:
parent
9a0f9fa554
commit
ba534b1192
@ -183,12 +183,14 @@ begin
|
|||||||
Result:= SwapEndian(d);
|
Result:= SwapEndian(d);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
{$ifdef CPU64}
|
||||||
function TFPReaderTiff.FixEndian(q: QWord): QWord;
|
function TFPReaderTiff.FixEndian(q: QWord): QWord;
|
||||||
begin
|
begin
|
||||||
Result:=q;
|
Result:=q;
|
||||||
if FReverseEndian
|
if FReverseEndian
|
||||||
then Result:= SwapEndian(q);
|
then Result:= SwapEndian(q);
|
||||||
end;
|
end;
|
||||||
|
{$endif}
|
||||||
|
|
||||||
procedure TFPReaderTiff.TiffError(Msg: string);
|
procedure TFPReaderTiff.TiffError(Msg: string);
|
||||||
begin
|
begin
|
||||||
|
Loading…
Reference in New Issue
Block a user