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
This commit is contained in:
Marcin Dalecki 2005-02-08 20:14:39 +01:00 committed by Tom Tromey
parent b59c0c440c
commit 86641a95b6
2 changed files with 6 additions and 1 deletions

View File

@ -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.

View File

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