瀏覽代碼

FIX: ARM64 unix time type

Alexander Koblov 4 年之前
父節點
當前提交
4ccca241e2
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      components/doublecmd/dcunix.pas

+ 1 - 1
components/doublecmd/dcunix.pas

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