[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [Libevent-users] Warning message



On Thu, Sep 23, 2010 at 7:37 PM, Ralph Castain <rhc@xxxxxxxxxxxx> wrote:
> Hi folks
> I'm getting a warning message when compiling 2.0.7rc:
> In file included from ../../opal/event/libevent/event-internal.h:37, from
> opal_event.c:44: ../../opal/event/libevent/minheap-internal.h: In function
> 'min_heap_erase':
>
> This is the offending line:
> if (((unsigned int)-1) != e->ev_timeout_pos.min_heap_idx)
> It looks like a legitimate complaint to me as min_heap_idx is declared as a
> signed int...
> Ralph

Ick; looks like we've got a lot more of these.  Here's a patch I'd
like to commit to clear them up.  Anyone please have a look if you
have time, and comment if it looks like I screwed anything up:

   https://sourceforge.net/tracker/index.php?func=detail&aid=3074504&group_id=50884&atid=461324#

It's also branch signed_compare in my github repo.

-- 
Nick
***********************************************************************
To unsubscribe, send an e-mail to majordomo@xxxxxxxxxxxxx with
unsubscribe libevent-users    in the body.