ソースを参照

* 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


読み込み中…
キャンセル
保存