aboutsummaryrefslogtreecommitdiff
path: root/gcc/fortran/decl.c
diff options
context:
space:
mode:
authorAldy Hernandez <aldyh@redhat.com>2007-12-11 12:48:28 +0000
committerAldy Hernandez <aldyh@gcc.gnu.org>2007-12-11 12:48:28 +0000
commitfcd5a1131ae62f73a9887deb6a8b8d3cbb76b6c9 (patch)
treebf92bf09dd2885f5d35c040e56f4f452771fec4f /gcc/fortran/decl.c
parent30895f307b2c7f9afed161ad53f011a82e599950 (diff)
downloadgcc-fcd5a1131ae62f73a9887deb6a8b8d3cbb76b6c9.zip
gcc-fcd5a1131ae62f73a9887deb6a8b8d3cbb76b6c9.tar.gz
gcc-fcd5a1131ae62f73a9887deb6a8b8d3cbb76b6c9.tar.bz2
* decl.c (add_global_entry): Make type unsigned.
From-SVN: r130775
Diffstat (limited to 'gcc/fortran/decl.c')
-rw-r--r--gcc/fortran/decl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/fortran/decl.c b/gcc/fortran/decl.c
index 0df1858..4c72277 100644
--- a/gcc/fortran/decl.c
+++ b/gcc/fortran/decl.c
@@ -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;