Permalink
Browse files

Silence warning

  • Loading branch information...
1 parent ad9e748 commit 62c41c802da81de84a1079356f3a7939289d63fc @TTimo TTimo committed Mar 31, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/zloop.c
View
@@ -74,7 +74,7 @@ s_poller_new (zmq_pollitem_t *item, zloop_fn handler, void *arg)
{
s_poller_t *poller = (s_poller_t *) zmalloc (sizeof (s_poller_t));
if (poller) {
- poller->ignore_errors = (item->events & ZMQ_IGNERR);
+ poller->ignore_errors = (item->events & ZMQ_IGNERR) != 0;
poller->item = *item;
poller->handler = handler;
poller->arg = arg;

0 comments on commit 62c41c8

Please sign in to comment.