소스 검색

* fixed compiler warnings

master
bergmann 9 년 전
부모
커밋
4e03a0f6f3
2개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제
  1. +2
    -0
      uutlAlgorithm.pas
  2. +1
    -0
      uutlSyncObjs.pas

+ 2
- 0
uutlAlgorithm.pas 파일 보기

@@ -100,6 +100,7 @@ class function TutlBinarySearch.DoSearch(
var
i, cmp: Integer;
begin
result := false;
if (aMin <= aMax) then begin
i := aMin + Trunc((aMax - aMin) / 2);
cmp := aComparer.Compare(aItem, aArray[i]);
@@ -127,6 +128,7 @@ class function TutlBinarySearch.DoSearch(
var
i, cmp: Integer;
begin
result := false;
if (aMin <= aMax) then begin
i := aMin + Trunc((aMax - aMin) / 2);
cmp := aComparer.Compare(aItem, aArray[i]);


+ 1
- 0
uutlSyncObjs.pas 파일 보기

@@ -169,6 +169,7 @@ var
i: integer;
timeout, tick: qword;
begin
result := wrError;
timeout := GetTickCount64 + aTimeout;
for i := 0 to Count-1 do begin
if (aTimeout <> INFINITE) then begin


불러오는 중...
취소
저장