Explorar o código

* fixed test on 64 bit platforms

git-svn-id: trunk@27927 -
Jonas Maebe %!s(int64=11) %!d(string=hai) anos
pai
achega
e5647d5118
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      tests/webtbs/tw22540.pp

+ 1 - 1
tests/webtbs/tw22540.pp

@@ -14,7 +14,7 @@ type
                        Type
                          PKey  = ^TKey;
                          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;
                        private
                          keycomparefunc:TKeyCompareFunc;