* use voidpointer.size instead of sizeof(pint) in tparamanager.push_size in

order to properly support i8086 far data memory models

git-svn-id: trunk@26933 -
This commit is contained in:
nickysn 2014-03-02 22:51:37 +00:00
parent 229ebf33a8
commit 9321d9916d

View File

@ -223,12 +223,12 @@ implementation
vs_constref,
vs_out,
vs_var :
push_size:=sizeof(pint);
push_size:=voidpointertype.size;
vs_value,
vs_const :
begin
if push_addr_param(varspez,def,calloption) then
push_size:=sizeof(pint)
push_size:=voidpointertype.size
else
begin
{ special array are normally pushed by addr, only for