Browse Source

m68k: build fix

git-svn-id: trunk@35111 -
Károly Balogh 8 years ago
parent
commit
66e651bed0
1 changed files with 1 additions and 1 deletions
  1. 1 1
      compiler/m68k/n68kcnv.pas

+ 1 - 1
compiler/m68k/n68kcnv.pas

@@ -187,7 +187,7 @@ implementation
                   if (location.loc in [LOC_REFERENCE,LOC_CREFERENCE]) then
                   if (location.loc in [LOC_REFERENCE,LOC_CREFERENCE]) then
                     begin
                     begin
                       inc(location.reference.offset,TCGSize2Size[left.location.size]-TCGSize2Size[location.size]);
                       inc(location.reference.offset,TCGSize2Size[left.location.size]-TCGSize2Size[location.size]);
-                      l.reference.alignment:=newalignment(l.reference.alignment,TCGSize2Size[left.location.size]-TCGSize2Size[location.size]);
+                      location.reference.alignment:=newalignment(location.reference.alignment,TCGSize2Size[left.location.size]-TCGSize2Size[location.size]);
                     end;
                     end;
                 end;
                 end;
               exit;
               exit;