* decl.c (add_global_entry): Make type unsigned.

From-SVN: r130775
This commit is contained in:
Aldy Hernandez 2007-12-11 12:48:28 +00:00 committed by Aldy Hernandez
parent 30895f307b
commit fcd5a1131a
2 changed files with 5 additions and 1 deletions

View 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.

View 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;