GetTickCount: A fix which was recommended by the compiler

git-svn-id: trunk@33387 -
This commit is contained in:
sekelsenmat 2011-11-07 07:42:00 +00:00
parent 7fb5242187
commit 6282148a84

View File

@ -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: