mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-17 01:39:26 +02:00
* TVMTBuilder.intf_allocate_vtbls: fixed the Ioffset calculation in i8086 far
data memory models git-svn-id: trunk@27728 -
This commit is contained in:
parent
15275795da
commit
89e9fac562
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user