From d07ab4ef5adc0562896e36f55fd30b69129e97b5 Mon Sep 17 00:00:00 2001 From: Christoph Mallon Date: Tue, 3 Jul 2007 20:28:50 +0000 Subject: [PATCH] Do not cast a pointer to int. [r14910] --- ir/be/becopyheur.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ir/be/becopyheur.c b/ir/be/becopyheur.c index ab6b3d1e3..ab7b14bd7 100644 --- a/ir/be/becopyheur.c +++ b/ir/be/becopyheur.c @@ -141,7 +141,7 @@ static INLINE int qnode_are_conflicting(const qnode_t *qn, const ir_node *n1, co c.n1 = n2; c.n2 = n1; } - return (int) set_find(qn->conflicts, &c, sizeof(c), HASH_CONFLICT(c)); + return set_find(qn->conflicts, &c, sizeof(c), HASH_CONFLICT(c)) != 0; } static int set_cmp_node_stat_t(const void *x, const void *y, size_t size) { -- 2.20.1