summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjonas <jonas@3ad0048d-3df7-0310-abae-a5850022a9f2>2015-04-06 14:24:09 +0000
committerjonas <jonas@3ad0048d-3df7-0310-abae-a5850022a9f2>2015-04-06 14:24:09 +0000
commit646e64087c325943572bbcd635fa58543c32df74 (patch)
tree1abd793b6386deb59dabde95aa3708c1a740b6d1
parent53b2881f00459b6cafcc0df823138c9543c200f5 (diff)
downloadfpc-646e64087c325943572bbcd635fa58543c32df74.tar.gz
* fixed warnings after r30449/r30450
git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@30466 3ad0048d-3df7-0310-abae-a5850022a9f2
-rw-r--r--compiler/ngenutil.pas2
-rw-r--r--compiler/tgobj.pas4
2 files changed, 4 insertions, 2 deletions
diff --git a/compiler/ngenutil.pas b/compiler/ngenutil.pas
index 47385ab1dd..a0d6c7feb1 100644
--- a/compiler/ngenutil.pas
+++ b/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
diff --git a/compiler/tgobj.pas b/compiler/tgobj.pas
index 6063af33df..aedbe7f72c 100644
--- a/compiler/tgobj.pas
+++ b/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;