* TVMTBuilder.intf_allocate_vtbls: fixed the Ioffset calculation in i8086 far

data memory models

git-svn-id: trunk@27728 -
This commit is contained in:
nickysn 2014-05-03 17:05:50 +00:00
parent 15275795da
commit 89e9fac562

View File

@ -769,9 +769,9 @@ implementation
{ allocate a pointer in the object memory }
with tObjectSymtable(_class.symtable) do
begin
datasize:=align(datasize,sizeof(pint));
datasize:=align(datasize,voidpointertype.alignment);
ImplIntf.Ioffset:=datasize;
datasize:=datasize+sizeof(pint);
datasize:=datasize+voidpointertype.size;
end;
end;
end;