git-svn-id: trunk@7828 -
@@ -431,7 +431,7 @@ var
TV: TTimeVal;
begin
Get_Sys_Time (@TV);
- GetMsCount := TV.TV_Secs * 1000 + TV.TV_Micro div 1000;
+ GetMsCount := int64 (TV.TV_Secs) * 1000 + TV.TV_Micro div 1000;
end;
{******************************************************************************
@@ -151,7 +151,7 @@ end;
function GetMsCount: int64;
- GetMsCount := MemL [$40:$6c] * 55;
+ GetMsCount := int64 (MemL [$40:$6c]) * 55;
@@ -105,7 +105,7 @@ end;
- GetMsCount := Nwserv.GetCurrentTicks * 55;
+ GetMsCount := int64 (Nwserv.GetCurrentTicks) * 55;
@@ -143,7 +143,7 @@ var
tz : TimeZone;
FPGetTimeOfDay (tv, tz);
- GetMsCount := tv.tv_Sec * 1000 + tv.tv_uSec div 1000;
+ GetMsCount := int64 (tv.tv_Sec) * 1000 + tv.tv_uSec div 1000;