aboutsummaryrefslogtreecommitdiff
path: root/gcc/java/expr.c
diff options
context:
space:
mode:
authorMarcin Dalecki <martin@dalecki.de>2005-02-08 20:14:39 +0100
committerTom Tromey <tromey@gcc.gnu.org>2005-02-08 19:14:39 +0000
commit86641a95b6bd1fad7c27bd851ed999d7b8e12acc (patch)
tree8f9d466f878b0ec5175c90e75c00f8b161d63c82 /gcc/java/expr.c
parentb59c0c440ce8fedd59951d7b43b5f432e4d39507 (diff)
downloadgcc-86641a95b6bd1fad7c27bd851ed999d7b8e12acc.zip
gcc-86641a95b6bd1fad7c27bd851ed999d7b8e12acc.tar.gz
gcc-86641a95b6bd1fad7c27bd851ed999d7b8e12acc.tar.bz2
expr.c (add_type_assertion): Use the proper enumeration type, since this is what htab_find_slot() is expecting.
2005-02-08 Marcin Dalecki <martin@dalecki.de> * expr.c (add_type_assertion): Use the proper enumeration type, since this is what htab_find_slot() is expecting. From-SVN: r94743
Diffstat (limited to 'gcc/java/expr.c')
-rw-r--r--gcc/java/expr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/java/expr.c b/gcc/java/expr.c
index 626b9bc..a8ae7c6 100644
--- a/gcc/java/expr.c
+++ b/gcc/java/expr.c
@@ -458,7 +458,7 @@ add_type_assertion (tree class, int assertion_code, tree op1, tree op2)
as.op1 = op1;
as.op2 = op2;
- as_pp = htab_find_slot (assertions_htab, &as, true);
+ as_pp = htab_find_slot (assertions_htab, &as, INSERT);
/* Don't add the same assertion twice. */
if (*as_pp)