Explorar o código

* 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 %!s(int64=20) %!d(string=hai) anos
pai
achega
3a8cd257b4
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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;