Prechádzať zdrojové kódy

* 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 19 rokov pred
rodič
commit
3a8cd257b4
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  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;