summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4>2005-02-08 19:14:39 +0000
committertromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4>2005-02-08 19:14:39 +0000
commit75ac60c25475dccec7b3237de471e2d472ab5e21 (patch)
tree8f9d466f878b0ec5175c90e75c00f8b161d63c82
parentd768680f3aad27ebde85f0b0857e2a57c3df2ebc (diff)
downloadppe42-gcc-75ac60c25475dccec7b3237de471e2d472ab5e21.tar.gz
ppe42-gcc-75ac60c25475dccec7b3237de471e2d472ab5e21.zip
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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@94743 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/java/ChangeLog5
-rw-r--r--gcc/java/expr.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/java/ChangeLog b/gcc/java/ChangeLog
index ef180dc390c..e68ffe3bc18 100644
--- a/gcc/java/ChangeLog
+++ b/gcc/java/ChangeLog
@@ -1,3 +1,8 @@
+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.
+
2005-02-06 Joseph S. Myers <joseph@codesourcery.com>
* gcj.texi: Update copyright dates.
diff --git a/gcc/java/expr.c b/gcc/java/expr.c
index 626b9bcadd2..a8ae7c612fe 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)
OpenPOWER on IntegriCloud