Просмотр исходного кода

* Patch from Graeme Geldenhuys to Fix compiler hint about signed/unsigned values

git-svn-id: trunk@30317 -
michael 10 лет назад
Родитель
Сommit
83728983f3
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      packages/fcl-fpcunit/src/fpcunit.pp

+ 2 - 2
packages/fcl-fpcunit/src/fpcunit.pp

@@ -1348,7 +1348,7 @@ begin
 //unlock mutex
 end;
 
-function TTestResult.SkipTest(ATestCase: TTestCase): Boolean;
+function TTestResult.SkipTest(ATestCase: TTestCase): boolean;
 var
   i: integer;
 begin
@@ -1361,7 +1361,7 @@ begin
   else
     for i := 0 to FSkippedTests.Count - 1 do
     begin
-      if PtrInt(FSkippedTests[i]) = PtrInt(ATestCase) then
+      if PtrUInt(FSkippedTests[i]) = PtrUInt(ATestCase) then
       begin
         Result := true;
         Exit;