From 070955bcd059e6da3a2813215d312f97276c36d2 Mon Sep 17 00:00:00 2001 From: nickysn Date: Sun, 30 Mar 2014 18:17:37 +0000 Subject: [PATCH] * fixed 'data element too large' error in i8086 far data memory models git-svn-id: trunk@27390 - --- rtl/objpas/typinfo.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rtl/objpas/typinfo.pp b/rtl/objpas/typinfo.pp index 8aa08f3068..3b44545d41 100644 --- a/rtl/objpas/typinfo.pp +++ b/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;