Sfoglia il codice sorgente

* fixed test units/system/tassignd.pp for i8086 medium/compact memory model

git-svn-id: trunk@25820 -
nickysn 12 anni fa
parent
commit
2a11883ad6
1 ha cambiato i file con 4 aggiunte e 1 eliminazioni
  1. 4 1
      tests/test/units/system/tassignd.pp

+ 4 - 1
tests/test/units/system/tassignd.pp

@@ -6,6 +6,9 @@
 {$endif}
 
 type
+{$ifndef fpc}
+  CodePointer = Pointer;
+{$endif}
 
   tmyobject = object
     procedure myroutine(x: byte);
@@ -23,7 +26,7 @@ type
 
   type
     objpointer = packed record
-      _method : pointer;
+      _method : codepointer;
       _vmt : pointer;
     end;