Browse Source

FIX: ARM64 unix time type

Alexander Koblov 4 năm trước cách đây
mục cha
commit
4ccca241e2
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      components/doublecmd/dcunix.pas

+ 1 - 1
components/doublecmd/dcunix.pas

@@ -48,7 +48,7 @@ const
 
 
 type
 type
 {$IF DEFINED(LINUX)}
 {$IF DEFINED(LINUX)}
-  TUnixTime = UIntPtr;
+  TUnixTime = {$IFDEF CPUAARCH64}Int64{$ELSE}UIntPtr{$ENDIF};
   TUnixMode = Cardinal;
   TUnixMode = Cardinal;
 {$ELSE}
 {$ELSE}
   TUnixTime = TTime;
   TUnixTime = TTime;