Kaynağa Gözat

* fixed compiler warnings

master
bergmann 9 yıl önce
ebeveyn
işleme
4e03a0f6f3
2 değiştirilmiş dosya ile 3 ekleme ve 0 silme
  1. +2
    -0
      uutlAlgorithm.pas
  2. +1
    -0
      uutlSyncObjs.pas

+ 2
- 0
uutlAlgorithm.pas Dosyayı Görüntüle

@@ -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 Dosyayı Görüntüle

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


Yükleniyor…
İptal
Kaydet