Преглед изворни кода

* fixed warnings after r30449/r30450

git-svn-id: trunk@30466 -
Jonas Maebe пре 10 година
родитељ
комит
640efba580
2 измењених фајлова са 4 додато и 2 уклоњено
  1. 1 1
      compiler/ngenutil.pas
  2. 3 1
      compiler/tgobj.pas

+ 1 - 1
compiler/ngenutil.pas

@@ -630,7 +630,7 @@ implementation
     var
       hp : tused_unit;
       unitinits : TAsmList;
-      count : longint;
+      count : aint;
 
       procedure write_struct_inits(u: tmodule);
         var

+ 3 - 1
compiler/tgobj.pas

@@ -410,6 +410,8 @@ implementation
             tl^.temptype:=temptype;
             tl^.def:=def;
 
+{$push}
+{$warn 6018 off}
             { Extend the temp }
             if direction=-1 then
               begin
@@ -425,7 +427,7 @@ implementation
                   CGMessage(cg_e_localsize_too_big);
                 lasttemp:=tl^.pos+size;
               end;
-
+{$pop}
             tl^.fini:=fini;
             tl^.alignment:=alignment;
             tl^.size:=size;