Pārlūkot izejas kodu

* fixed test on 64 bit platforms

git-svn-id: trunk@27927 -
Jonas Maebe 11 gadi atpakaļ
vecāks
revīzija
e5647d5118
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      tests/webtbs/tw22540.pp

+ 1 - 1
tests/webtbs/tw22540.pp

@@ -14,7 +14,7 @@ type
                        Type
                        Type
                          PKey  = ^TKey;
                          PKey  = ^TKey;
                          PValue= ^TValue;
                          PValue= ^TValue;
-                         TKeyCompareFunc  = function(const Key1, Key2: TKey): PtrInt; // returns ptrint in FPC, don't know about XE2
+                         TKeyCompareFunc  = function(const Key1, Key2: TKey): Integer; // returns Integer both in FPC and Delphi
                          TFinalizeKeyFunc = Procedure(var Key1:TKey) of object;
                          TFinalizeKeyFunc = Procedure(var Key1:TKey) of object;
                        private
                        private
                          keycomparefunc:TKeyCompareFunc;
                          keycomparefunc:TKeyCompareFunc;