Bläddra i källkod

* fixed 'data element too large' error in i8086 far data memory models

git-svn-id: trunk@27390 -
nickysn 11 år sedan
förälder
incheckning
070955bcd0
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1 1
      rtl/objpas/typinfo.pp

+ 1 - 1
rtl/objpas/typinfo.pp

@@ -299,7 +299,7 @@ unit typinfo;
       TProcInfoProc = Procedure(PropInfo : PPropInfo) of object;
 
       PPropList = ^TPropList;
-      TPropList = array[0..{$ifdef cpu16}32765 div sizeof(PPropInfo){$else}65535{$endif}] of PPropInfo;
+      TPropList = array[0..{$ifdef cpu16}(32768 div sizeof(PPropInfo))-2{$else}65535{$endif}] of PPropInfo;
 
    const
       tkString = tkSString;