From c2e40f8616a5452aaa347d8449d29dbc57f86abc Mon Sep 17 00:00:00 2001 From: George Bosilca Date: Mon, 25 Oct 2010 18:29:11 +0000 Subject: [PATCH] Remove a warning about signed to unsigned comparaison. This commit was SVN r23935. --- opal/mca/event/libevent207/libevent/minheap-internal.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/opal/mca/event/libevent207/libevent/minheap-internal.h b/opal/mca/event/libevent207/libevent/minheap-internal.h index 0557c2bab6..9d1dba3eff 100644 --- a/opal/mca/event/libevent207/libevent/minheap-internal.h +++ b/opal/mca/event/libevent207/libevent/minheap-internal.h @@ -95,7 +95,7 @@ int min_heap_elt_is_top(const struct event *e) int min_heap_erase(min_heap_t* s, struct event* e) { - if (((unsigned int)-1) != e->ev_timeout_pos.min_heap_idx) + if (((int)-1) != e->ev_timeout_pos.min_heap_idx) { struct event *last = s->p[--s->n]; unsigned parent = (e->ev_timeout_pos.min_heap_idx - 1) / 2;