mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-05-31 04:12:34 +02:00
GetTickCount: A fix which was recommended by the compiler
git-svn-id: trunk@33387 -
This commit is contained in:
parent
7fb5242187
commit
6282148a84
@ -102,7 +102,7 @@ var
|
||||
tp: TTimeVal;
|
||||
begin
|
||||
fpgettimeofday(@tp, nil);
|
||||
Result := (tp.tv_sec * 1000) + (tp.tv_usec div 1000);
|
||||
Result := (Int64(tp.tv_sec) * 1000) + (tp.tv_usec div 1000);
|
||||
end;
|
||||
{$else}
|
||||
// Not Windows and not UNIX, so just write the most trivial code until we have something besser:
|
||||
|
Loading…
Reference in New Issue
Block a user