Browse Source

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

git-svn-id: trunk@25820 -
nickysn 11 years ago
parent
commit
2a11883ad6
1 changed files with 4 additions and 1 deletions
  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;