瀏覽代碼

* fixed compilation on systems where comp = int64 (i.e., everything non-x86)
and thus incompatible with floating point types

git-svn-id: trunk@1875 -

Jonas Maebe 20 年之前
父節點
當前提交
3a8cd257b4
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      fcl/db/dataset.inc

+ 1 - 1
fcl/db/dataset.inc

@@ -538,7 +538,7 @@ begin
               end;
   else
     try
-      TS:=MSecsToTimeStamp(Data.DateTime);
+      TS:=MSecsToTimeStamp(trunc(Data.DateTime));
     except
     end;
   end;