Browse Source

* 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 years ago
parent
commit
3a8cd257b4
1 changed files with 1 additions and 1 deletions
  1. 1 1
      fcl/db/dataset.inc

+ 1 - 1
fcl/db/dataset.inc

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