aboutsummaryrefslogtreecommitdiff
path: root/libiberty/hashtab.c
diff options
context:
space:
mode:
authorJan Hubicka <jh@suse.cz>2003-03-12 17:43:21 +0100
committerJan Hubicka <hubicka@gcc.gnu.org>2003-03-12 16:43:21 +0000
commitcd22e4af595f1ac0399cff1bd048750bc8ce1d68 (patch)
tree3dc046b847bc520e0fc2c7cb75896de107ae6ee7 /libiberty/hashtab.c
parent1aa03f38109744f7b261f1fb6507dda54c522c55 (diff)
downloadgcc-cd22e4af595f1ac0399cff1bd048750bc8ce1d68.zip
gcc-cd22e4af595f1ac0399cff1bd048750bc8ce1d68.tar.gz
gcc-cd22e4af595f1ac0399cff1bd048750bc8ce1d68.tar.bz2
* hashtab.c (htab_expand): Fix warning.
From-SVN: r64249
Diffstat (limited to 'libiberty/hashtab.c')
-rw-r--r--libiberty/hashtab.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libiberty/hashtab.c b/libiberty/hashtab.c
index a0cb5a7..ebaa43b 100644
--- a/libiberty/hashtab.c
+++ b/libiberty/hashtab.c
@@ -376,8 +376,8 @@ htab_expand (htab)
/* Resize only when table after removal of unused elements is either
too full or too empty. */
if ((htab->n_elements - htab->n_deleted) * 2 > htab->size
- || (htab->n_elements - htab->n_deleted) * 8 < htab->size
- && htab->size > 32)
+ || ((htab->n_elements - htab->n_deleted) * 8 < htab->size
+ && htab->size > 32))
nsize = higher_prime_number ((htab->n_elements - htab->n_deleted) * 2);
else
nsize = htab->size;