소스 검색

* Fix another bug found by new hint.

git-svn-id: trunk@7819 -
daniel 18 년 전
부모
커밋
f77150fa71
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      rtl/unix/dos.pp

+ 1 - 1
rtl/unix/dos.pp

@@ -297,7 +297,7 @@ var
 {  tz : TimeZone;}
 begin
   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;