This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[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)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]