This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH] wrong type passed in java/expr.c
- From: Marcin Dalecki <martin at dalecki dot de>
- To: Gcc Patch List <gcc-patches at gcc dot gnu dot org>
- Date: Sun, 6 Feb 2005 19:24:41 +0100
- Subject: [PATCH] wrong type passed in java/expr.c
Please someone with CVS access pic the folowing up.
2005-02-06 Marcin Dalecki <martin@dalecki.de>
* expr.c: Use the proper enumeration type, since this is what
htab_find_slot() is
expecting.
diff -urN gcc-4.0-20050130/gcc/java/expr.c
gcc-4.0-20050130-new/gcc/java/expr.c
--- gcc-4.0-20050130/gcc/java/expr.c Wed Jan 12 18:28:05 2005
+++ gcc-4.0-20050130-new/gcc/java/expr.c Sat Feb 5 01:57:01 2005
@@ -458,7 +458,7 @@
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)