* fix from r7819 extended to more platforms

git-svn-id: trunk@7828 -
This commit is contained in:
Tomas Hajny 2007-06-26 21:08:37 +00:00
parent 11b56e2cc8
commit c00021373a
6 changed files with 6 additions and 6 deletions

View File

@ -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;
{******************************************************************************

View File

@ -151,7 +151,7 @@ end;
function GetMsCount: int64;
begin
GetMsCount := MemL [$40:$6c] * 55;
GetMsCount := int64 (MemL [$40:$6c]) * 55;
end;

View File

@ -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;
{******************************************************************************

View File

@ -105,7 +105,7 @@ end;
function GetMsCount: int64;
begin
GetMsCount := Nwserv.GetCurrentTicks * 55;
GetMsCount := int64 (Nwserv.GetCurrentTicks) * 55;
end;

View File

@ -143,7 +143,7 @@ var
tz : TimeZone;
begin
FPGetTimeOfDay (tv, tz);
GetMsCount := tv.tv_Sec * 1000 + tv.tv_uSec div 1000;
GetMsCount := int64 (tv.tv_Sec) * 1000 + tv.tv_uSec div 1000;
end;

View File

@ -151,7 +151,7 @@ end;
function GetMsCount: int64;
begin
GetMsCount := MemL [$40:$6c] * 55;
GetMsCount := int64 (MemL [$40:$6c]) * 55;
end;
{******************************************************************************