* decl.c (add_global_entry): Make type unsigned.
authoraldyh <aldyh@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 11 Dec 2007 12:48:28 +0000 (12:48 +0000)
committeraldyh <aldyh@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 11 Dec 2007 12:48:28 +0000 (12:48 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@130775 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/fortran/ChangeLog
gcc/fortran/decl.c

index 280cc46..9f28860 100644 (file)
@@ -1,3 +1,7 @@
+2007-12-11  Aldy Hernandez  <aldyh@redhat.com>
+
+       * decl.c (add_global_entry): Make type unsigned.
+
 2007-12-11  Bernhard Fischer  <aldot@gcc.gnu.org>
 
        * decl.c (match_prefix): Make seen_type a boolean.
index 0df1858..4c72277 100644 (file)
@@ -4334,7 +4334,7 @@ static bool
 add_global_entry (const char *name, int sub)
 {
   gfc_gsymbol *s;
-  int type;
+  unsigned int type;
 
   s = gfc_get_gsymbol(name);
   type = sub ? GSYM_SUBROUTINE : GSYM_FUNCTION;