mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-21 20:29:32 +02:00
* far pointer fix in taddrnode.pass_typecheck
git-svn-id: trunk@24857 -
This commit is contained in:
parent
b81f0ab50d
commit
c9096ef806
@ -526,7 +526,14 @@ implementation
|
||||
begin
|
||||
if tabstractprocdef(left.resultdef).is_addressonly then
|
||||
begin
|
||||
{$ifdef i8086}
|
||||
if po_far in tabstractprocdef(left.resultdef).procoptions then
|
||||
result:=ctypeconvnode.create_internal(left,voidfarpointertype)
|
||||
else
|
||||
result:=ctypeconvnode.create_internal(left,voidnearpointertype);
|
||||
{$else i8086}
|
||||
result:=ctypeconvnode.create_internal(left,voidpointertype);
|
||||
{$endif i8086}
|
||||
include(result.flags,nf_load_procvar);
|
||||
left:=nil;
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user