summaryrefslogtreecommitdiff
path: root/compiler/cresstr.pas
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/cresstr.pas')
-rw-r--r--compiler/cresstr.pas4
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/cresstr.pas b/compiler/cresstr.pas
index a0a08172e0..3daa04a2ea 100644
--- a/compiler/cresstr.pas
+++ b/compiler/cresstr.pas
@@ -152,8 +152,8 @@ uses
{ Write unitname entry }
namelab:=emit_ansistring_const(current_asmdata.asmlists[al_const],@current_module.localsymtable.name^[1],length(current_module.localsymtable.name^),getansistringcodepage,False);
current_asmdata.asmlists[al_resourcestrings].concat(tai_const.Create_sym_offset(namelab.lab,namelab.ofs));
- current_asmdata.asmlists[al_resourcestrings].concat(tai_const.create_sym(nil));
- current_asmdata.asmlists[al_resourcestrings].concat(tai_const.create_sym(nil));
+ current_asmdata.asmlists[al_resourcestrings].concat(tai_const.create_nil_dataptr);
+ current_asmdata.asmlists[al_resourcestrings].concat(tai_const.create_nil_dataptr);
current_asmdata.asmlists[al_resourcestrings].concat(tai_const.create_32bit(0));
{$ifdef cpu64bitaddr}
current_asmdata.asmlists[al_resourcestrings].concat(tai_const.create_32bit(0));