* fixed type when passing an address parameter to another address parameter

git-svn-id: trunk@30715 -
This commit is contained in:
Jonas Maebe 2015-04-25 15:51:16 +00:00
parent b3e786eb77
commit 2102db1a0c

View File

@ -383,7 +383,7 @@ implementation
if (left.location.reference.index<>NR_NO) or
(left.location.reference.offset<>0) then
internalerror(200410107);
hlcg.a_load_reg_cgpara(current_asmdata.CurrAsmList,voidpointertype,left.location.reference.base,tempcgpara)
hlcg.a_load_reg_cgpara(current_asmdata.CurrAsmList,getpointerdef(left.resultdef),left.location.reference.base,tempcgpara)
end
else
begin