unixtoole changed to take input as float
authorbeware <beware@bircd.org>
Sat, 3 Apr 2010 22:25:51 +0000 (22:25 +0000)
committerbeware <beware@bircd.org>
Sat, 3 Apr 2010 22:25:51 +0000 (22:25 +0000)
git-svn-id: file:///svnroot/lcore/trunk@88 b1de8a11-f9be-4011-bde0-cc7ace90066a

btime.pas

index 33b32d0c899cde75cf523bb6e9b11cf367463528..62b957df864c8f31d33cc2b505f363e4670829ce 100644 (file)
--- a/btime.pas
+++ b/btime.pas
@@ -53,7 +53,7 @@ function unixtimefloat_systemtime:float;
 \r
 function oletounixfloat(t:float):float;\r
 function oletounix(t:tdatetime):integer;\r
-function unixtoole(i:integer):tdatetime;\r
+function unixtoole(i:float):tdatetime;\r
 \r
 {$ifdef win32}\r
 function mmtimefloat:float;\r
@@ -130,7 +130,7 @@ begin
   result := trunc(oletounixfloat(t));\r
 end;\r
 \r
-function unixtoole(i:integer):tdatetime;\r
+function unixtoole(i:float):tdatetime;\r
 begin\r
   result := ((i)/86400)+daysdifference;\r
 end;\r