summaryrefslogtreecommitdiff
path: root/compiler/jvm/njvmutil.pas
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/jvm/njvmutil.pas')
-rw-r--r--compiler/jvm/njvmutil.pas2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/jvm/njvmutil.pas b/compiler/jvm/njvmutil.pas
index af73f759ec..91e159ad89 100644
--- a/compiler/jvm/njvmutil.pas
+++ b/compiler/jvm/njvmutil.pas
@@ -125,7 +125,7 @@ implementation
if jvmimplicitpointertype(p.resultdef) then
begin
p:=caddrnode.create(p);
- include(p.flags,nf_typedaddr);
+ include(taddrnode(p).addrnodeflags,anf_typedaddr);
end;
paras:=ccallparanode.create(ctypeconvnode.create_explicit(p,
search_system_type('TJOBJECTARRAY').typedef),nil);