Browse Source

* Fix 32-bit compilation

Michaël Van Canneyt 2 years ago
parent
commit
ba534b1192
1 changed files with 2 additions and 0 deletions
  1. 2 0
      packages/fcl-image/src/fpreadtiff.pas

+ 2 - 0
packages/fcl-image/src/fpreadtiff.pas

@@ -183,12 +183,14 @@ begin
     Result:= SwapEndian(d);
 end;
 
+{$ifdef CPU64}
 function TFPReaderTiff.FixEndian(q: QWord): QWord;
 begin
   Result:=q;
   if FReverseEndian
   then Result:= SwapEndian(q);
 end;
+{$endif}
 
 procedure TFPReaderTiff.TiffError(Msg: string);
 begin