Explorar o código

* Fix another bug found by new hint.

git-svn-id: trunk@7819 -
daniel %!s(int64=18) %!d(string=hai) anos
pai
achega
f77150fa71
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      rtl/unix/dos.pp

+ 1 - 1
rtl/unix/dos.pp

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